Springboot Configuration Properties NoSQL

Source: Internet
Author: User
Tags redis solr infinispan server port hazelcast redis server

Springboot Configuration Property Series

  • MVC of Springboot Configuration Properties

  • Springboot Configuration properties of the server

  • DataSource of Springboot Configuration Properties

  • Springboot Configuration Properties NoSQL

  • Springboot Configuration Properties of MQ

  • Security of Springboot Configuration properties

  • Migration of Springboot Configuration Properties

  • Springboot Configuration Properties of other

Also attach personal articles about Springboot

    • Springboot Past Life

    • Springboot Integrated MyBatis

    • The actuator of springboot four artifacts

    • The starter of springboot four artifacts

Cache
    • Spring.cache.cache-names
      Specifies the name of the cache to be created, separated by commas (if supported by the cache implementation)

    • Spring.cache.ehcache.config
      Specifies the location of the configuration file to use when initializing Ehcache.

    • Spring.cache.guava.spec
      Specifies the spec to use for creating the cache, as detailed in Cachebuilderspec.

    • Spring.cache.hazelcast.config
      Specify the configuration file location when initializing Hazelcast

    • Spring.cache.infinispan.config
      Specifies the location of the configuration file when initializing Infinispan.

    • Spring.cache.jcache.config
      Specifies the configuration file for the Jcache.

    • Spring.cache.jcache.provider
      Specifies the fully qualified name of the Cachingprovider implementation class.

    • Spring.cache.type
      Specifying the cache type

Mongodb
    • Spring.mongodb.embedded.features
      Specifies the attributes to turn on, separated by commas.

    • Spring.mongodb.embedded.version
      Specify the version you want to use, default: 2.6.10

Redis
    • Spring.redis.database
      Specifies the database index used by the connection factory, which defaults to: 0

    • Spring.redis.host
      Specify Redis server host, default: localhost

    • Spring.redis.password
      Specify the password for Redis server

    • Spring.redis.pool.max-active
      Specify the maximum number of active connections for the connection pool, 1 for Infinity, and 8 for default

    • Spring.redis.pool.max-idle
      Specify the maximum number of idle connections for the connection pool, 1 for Infinity, and 8 for default

    • Spring.redis.pool.max-wait
      Specifies the maximum time to wait for a new connection to be fetched when the connection pool is exhausted, in milliseconds, 1 for infinite waits

    • Spring.redis.pool.min-idle
      Specifies the minimum number of idle connections in the connection pool, which defaults to 0

    • Spring.redis.port
      Specify Redis server port, default: 6379

    • Spring.redis.sentinel.master
      Specify the name of the Redis server

    • Spring.redis.sentinel.nodes
      Specifies the sentinel node, separated by commas, in the format Host:port.

    • Spring.redis.timeout
      Specify the connection time-out, in milliseconds, by default of 0

Springdata
    • Spring.data.elasticsearch.cluster-name
      Specify the ES cluster name, default: Elasticsearch

    • Spring.data.elasticsearch.cluster-nodes
      Specify the ES cluster, comma separated, and not specified, to start client node.

    • Spring.data.elasticsearch.properties
      Specifies the ES attribute to configure.

    • Spring.data.elasticsearch.repositories.enabled
      Whether to open ES storage, default: True

    • Spring.data.jpa.repositories.enabled
      Whether to turn on JPA support, default: True

    • Spring.data.mongodb.authentication-database
      Specify the name of the authentication database

    • Spring.data.mongodb.database
      Specify the MONGODB database name

    • Spring.data.mongodb.field-naming-strategy
      Specifies the fieldnamingstrategy to use.

    • Spring.data.mongodb.grid-fs-database
      Specifies the name of the Gridfs database.

    • Spring.data.mongodb.host
      Specifies MONGO server host.

    • Spring.data.mongodb.password
      Specifies the password for the MONGO server.

    • Spring.data.mongodb.port
      Specify MONGO server port.

    • Spring.data.mongodb.repositories.enabled
      Whether to turn on MongoDB storage, which is true by default

    • Spring.data.mongodb.uri
      Specifies the MONGO database URI. Default: Mongodb://localhost/test

    • Spring.data.mongodb.username
      Specifies the user name of the login MongoDB.

    • Spring.data.rest.base-path
      Specifies the baseline path of the exposed resource.

    • Spring.data.rest.default-page-size
      Specify the size of each page by default: 20

    • Spring.data.rest.limit-param-name
      Specify the parameter name for limit, by default: Size

    • Spring.data.rest.max-page-size
      Specify the maximum number of pages, which defaults to 1000

    • Spring.data.rest.page-param-name
      Specifies the name of the parameter for the paging, by default: page

    • Spring.data.rest.return-body-on-create
      Returns body when the entity is created, false by default

    • Spring.data.rest.return-body-on-update
      Whether the body is returned after the entity has been updated, and the default is False

    • Spring.data.rest.sort-param-name
      Specifies the key to use for sorting by default: sort

    • Spring.data.solr.host
      Specifies SOLR host, which is ignored if there is a host with ZK specified. Default is: HTTP://127.0.0.1:8983/SOLR

    • Spring.data.solr.repositories.enabled
      Whether to open SOLR repositories, default: True

    • Spring.data.solr.zk-host
      Specifies the address of ZK, formatted as Host:port.

Springboot Configuration Properties NoSQL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.