Property List and Explanation
Common Application Properties (Link)
Key | Default Value | Explanation |
spring.couchbase.bootstrap-hosts | Couchbase nodes (host or IP address) to bootstrap from. | |
spring.couchbase.bucket.name | default | Name of the bucket to connect to. |
spring.couchbase.bucket.password | Password of the bucket. | |
spring.couchbase.env.bootstrap.http-direct-port | Port for the HTTP bootstrap. | |
spring.couchbase.env.bootstrap.http-ssl-port | Port for the HTTPS bootstrap. | |
spring.couchbase.env.endpoints.key-value | 1 | Number of sockets per node against the key/value service. |
spring.couchbase.env.endpoints.queryservice.max-endpoints | 1 | Maximum number of sockets per node. |
spring.couchbase.env.endpoints.queryservice.min-endpoints | 1 | Minimum number of sockets per node. |
spring.couchbase.env.endpoints.viewservice.max-endpoints | 1 | Maximum number of sockets per node. |
spring.couchbase.env.endpoints.viewservice.min-endpoints | 1 | Minimum number of sockets per node. |
spring.couchbase.env.ssl.enabled | Whether to enable SSL support. Enabled automatically if a “keyStore” is provided unless specified otherwise. | |
spring.couchbase.env.ssl.key-store | Path to the JVM key store that holds the certificates. | |
spring.couchbase.env.ssl.key-store-password | Password used to access the key store. | |
spring.couchbase.env.timeouts.connect | 5000ms | Bucket connections timeouts. |
spring.couchbase.env.timeouts.key-value | 2500ms | Blocking operations performed on a specific key timeout. |
spring.couchbase.env.timeouts.query | 7500ms | N1QL query operations timeout. |
spring.couchbase.env.timeouts.socket-connect | 1000ms | Socket connect connections timeout. |
spring.couchbase.env.timeouts.view | 7500ms | Regular and geospatial view operations timeout. |
spring.couchbase.password | Cluster password when using role based access. | |
spring.couchbase.username | Cluster username when using role based access. | |
spring.data.couchbase.auto-index | false | Automatically create views and indexes. Use the meta-data provided by “@ViewIndexed”, “@N1qlPrimaryIndexed” and “@N1qlSecondaryIndexed”. |
spring.data.couchbase.consistency | read-your-own-writes | Consistency to apply by default on generated queries. read-your-own-writes eventually-consistent strongly-consistent update-after |
spring.data.couchbase.repositories.type | auto | Type of Couchbase repositories to enable. |
application.yml
spring: couchbase: password: username: bootstrap-hosts: localhost bucket: name: default password: couchbase env: bootstrap: http-direct-point: http-ssl-port: endpoints: key-value: 1 queryserivce: max-endpoints: 1 min-endpoints: 1 viewservice: max-endpoints: 1 min-endpoints: 1 ssl: enabled: key-store: key-store-password: timeouts: connect: 5000 key-value: 2500 query: 7500 socket-connect: 1000 view: 7500 data: couchbase: auto-index: false consistency: read-your-own-writes repositories: type: auto
コメント