The following table describes the ZooKeeper properties for the Cart microservice:
S.NOPROPERTYDESCRIPTION
1server.servlet.contextPathThis property holds the Spring Boot application's context path.
2server.ssl.enabledThis property controls the SSL configuration for the boot application.
3server.ssl.enabled-protocolsThis property holds the protocols enabled for this application. It takes comma separated values.
4server.ssl.key-aliasThis property holds the keystore alias name set during import using the keytool utility.
5server.ssl.key-storeThis property holds the keystore PrivateKeyEntry which will be used as the SSL certificate for the microservice.
6server.ssl.key-store-passwordThis property holds the keystore password for opening the keystore mentioned in the key-store property.
7server.ssl.key-store-typeThis property holds the keystore type.
8server.tomcat.accesslog.directoryThis property holds the directory in which log files are created. It can be absolute or relative to the Tomcat's base directory.
9server.tomcat.accesslog.enabledThis property controls the Tomcat logs for the Boot application.
10server.tomcat.accesslog.max-daysThe maximum number of days rotated access logs will be retained for before being deleted. If not specified, the default value is set to 10.
11server.tomcat.accesslog.patternThis property holds the pattern of the access logs to be printed. This will follow the Apache Tomcat parameters.
12server.tomcat.max-threadsThis property sets the maximum number of threads allowed to run at a time.
13skava.auditlog.customLayoutFormatThis property set to customize the layout option.
14skava.auditlog.db.driverClassNameThis property is used to connect to the MySQL DB for audit logs.
15skava.auditlog.db.enabledThis property is used to enable/disable the DB for audit logs.
16skava.auditlog.db.passwordThis property is used to connect to the MySQL DB for audit logs.
17skava.auditlog.db.urlThis property is used to connect to the MySQL DB for audit logs.
18skava.auditlog.db.userNameThis property is used to connect to the MySQL DB for audit logs.
19skava.auditlog.enabledThis property set to enable/disable the auditlog component.
20skava.auditlog.file-locationThis property set to enable/disable the auditlog component.
21skava.auditlog.layout-typeThis property set to enable/disable the auditlog component.
22skava.authorization.authExpiryTimeMinsThis property holds the expiry time of authorization token generated using the getTestToken API call. The value is mentioned in minutes.
23skava.authorization.authHeaderThis property holds the HTTP request header name in which the authorization token (JWT) is passed by the caller. Since the functionality of validating token is inherited from the framework, this property's value is used for identifying the correct header and its value is considered for access/authorization checks.
24skava.authorization.enabledThis property indicates whether the authorization component is enabled or disabled for the corresponding microservice. If the value is set as false, then all APIs are open to access without any authorization check and this is not recommended for the production or public APIs. For the production, production-like, or public environments, this property should be enabled (true).
25skava.authorization.gettesttoken.enabledThis property indicates whether the authorization endpoint for test JWT tokens is enabled or not. If it is set to true, an API will be exposed to obtain test JWT tokens.
26skava.authorization.superAdminRoleNameThe property indicates the super admin role name for the corresponding microservice.
27skava.authorization.tokenSecretThis property holds the secret which will be used to verify the signature of the JWT passed by the caller. Only if the JWT passed by the caller found valid with respect to signature, expiry and having necessary privileges, the request will be processed further.
28skava.cache.cascadeCacheNamesThis property is used to enable cascade cache by its name
29skava.cache.enableCascadeThis property is used to enable cascade cache
30skava.cache.enabledThis property is used to enable cache
31skava.cache.localCache.config.cartcollection.cacheSizeThis property specifies the local cache entry size.
32skava.cache.localCache.config.cartcollection.maxIdleInSecondsThis property sets the local cache maximum idle time in seconds.
33skava.cache.localCache.config.cartcollection.timeToLiveInSecondsThis property sets the local cache expiry time in seconds.
34skava.cache.localCache.config.cartcollectionattributes.cacheSizeThis property specifies the local cache entry size
35skava.cache.localCache.config.cartcollectionattributes.maxIdleInSecondsThis property sets the local cache maximum idle time in seconds.
36skava.cache.localCache.config.cartcollectionattributes.timeToLiveInSecondsThis property sets the local cache expiry time in seconds.
37skava.cache.localCache.typeThis property indicates the local cache type for L1 cache used in cascade cache.
38skava.cache.maxCacheSizeThis property holds the cache size in bytes. If the value is greater than 0, then the cache is restricted based on the value. Otherwise, no limitation for cache.
39skava.cache.redis.cacheNamesThis property holds the Redis cache names used by the application.
40skava.cache.redis.clearCacheEventNameThis property is used to set the event name for cache clear operation.
41skava.cache.redis.clientThis property specifies the type of client for redis connection.
42skava.cache.redis.cluster.maxRedirectsThis property specifies the maximum number of redirects to follow when executing commands across the cluster.
43skava.cache.redis.cluster.nodesThis property indicates comma-separated list of 'host:port' pairs to bootstrap from. This represents an 'initial' list of cluster nodes and is required to have at least one entry.
44skava.cache.redis.clusterEnabledThis property specifies the toggle cluster for Redis server.
45skava.cache.redis.databaseThis property holds the Redis database index used by the connection factory.
46skava.cache.redis.enabledThis property indicates whether the Redis component needs to be enabled or disabled for this application. It is recommended that it should be enabled (true) for the production and production-grade environments (like performance).
47skava.cache.redis.expTimeToliveThis property holds the expiration time of Redis entries. That is the maximum time the objects are requested to be held in the Redis server. Using this property you are requesting Redis to hold the objects for the specified time but it is the LRU/LCU which will determine how long an entry survives in the cache.
48skava.cache.redis.hostThis property holds the Redis server's hostname/IP for caching objects.
49skava.cache.redis.maxTimeToLiveThis property sets the max time to live in minutes time for redis cache.
50skava.cache.redis.passwordThis property holds the password for connecting to the Redis server. This is required if the authentication is enabled for the Redis server. It is recommended that it should be enabled for the production environment.
51skava.cache.redis.pool.maxActiveThis property holds the maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
52skava.cache.redis.pool.maxIdleThis property holds the maximum number of idle connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
53skava.cache.redis.pool.minIdleThis property holds the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
54skava.cache.redis.portThis property holds the Redis server's port for the application to connect for both read and write cache operations.
55skava.cache.redis.sentinel.masterThis property indicates the name of the redis server.
56skava.cache.redis.sentinel.nodesThis property indicates the comma-separated list of 'host:port' pairs.
57skava.cache.redis.timeoutThis property holds the connection timeout value of all Redis connections for both read and write.
58skava.cache.useOnlyL1CacheThis property is used to enable L1 cache
59skava.cache.useOnlyL2CacheThis property is used to enable L2 cache
60skava.core.releasedefinition.enabledThis property is used to enable the release definition endpoint.
61skava.cors.allowedHeadersThis property is used to set allowedHeaders for cors request.
62skava.cors.allowedMethodsThis property is used to set allowedMethods for cors request.
63skava.cors.allowedOriginsThis property is used to set allowedOrigins for cors request.
64skava.cors.enabledThis property is used to enable the cors component.
65skava.cors.exposedHeadersThis property is used to set exposedHeaders for cors request.
66skava.cors.maxAgeThis property is used to set maxAge for cors request in seconds.
67skava.cors.pathPatternThis property is used to set pathPattern for cors request.
68skava.crypto.aliasThis property is used to set alias for crypto component.
69skava.crypto.enabledThis property is used to enable/disable the crypto component.
70skava.crypto.saltThis property is used to set the salt value for crypto component.
71skava.crypto.textEncryptorClassThis property is used to set the fully qualified name of the custom implementation class.
72skava.event.classNameThis property is used to set the fully qualified name of the custom implementation class.
73skava.event.enabledThis property is used to enable/disable the event component.
74skava.event.enableExternalEventThis property is used to enable/disable the external event component.
75skava.event.enableFatEventThis property is used to enable/disable the fat event.
76skava.event.eventbridge.eventBusNameThis property is used to set the fully qualified name of the custom implementation class.
77skava.event.eventbridge.regionThis property is used to set the fully qualified name of the custom implementation class.
78skava.event.externalClassNameThis property is used to set the fully qualified name of the custom implementation class.
79skava.event.externalFatEventClassThis property is used to set the fully qualified name of the custom implementation class.
80skava.event.rabbitmq.addressesThis property sets the addresses for the RabbitMQ server cluster.
81skava.event.rabbitmq.cluster-enabledThis property enables or disables the cluster for the RabbitMQ server.
82skava.event.rabbitmq.concurrentConsumersThis property is used to set the maximum allowed concurrent consumers.
83skava.event.rabbitmq.deadLetterExchangeThis property is used to set the dead letter exchange for failed messages in the RabbitMQ server.
84skava.event.rabbitmq.defaultMaxRetryCountThis property is used to set maximum retries for the failed messages in the RabbitMQ server.
85skava.event.rabbitmq.enabledThis property is used to enable/disable the RabbitMQ server for the event component.
86skava.event.rabbitmq.hostThis property is used to set the host for RabbitMQ server.
87skava.event.rabbitmq.passwordThis property is used to set password for the RabbitMQ server.
88skava.event.rabbitmq.portThis property is used to set the port for RabbitMQ server.
89skava.event.rabbitmq.queueNameThis property is used to set the queue name used by the event component.
90skava.event.rabbitmq.routingKeyThis property is used to set the routing key for RabbitMQ server.
91skava.event.rabbitmq.ssl.algorithmThis property sets the SSL algorithm, which is used for the RabbitMQ server.
92skava.event.rabbitmq.ssl.enabledThis property enables or disables the SSL support for RabbitMQ server.
93skava.event.rabbitmq.topicExchangeThis property is used to set the topic exchange for RabbitMQ server.
94skava.event.rabbitmq.userNameThis property is used to set the username for the RabbitMQ server.
95skava.event.rabbitmq.virtualHostThis property is used to set the virtual host for the RabbitMQ server.
96skava.hibernate.acquireIncrementThis property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3.
97skava.hibernate.c3p0IdleTestPeriodThis property holds the idle time in seconds before a connection is automatically validated. If it is greater than 0, c3p0 will test all idle, pooled but unchecked-out connections, at the specified time period (in seconds).
98skava.hibernate.c3p0MaxSizeThis property is used to set maxmium connection pool for hibernate.
99skava.hibernate.c3p0MaxStatementsThis property holds the number of prepared statements that will be cached, i.e., c3p0's global PreparedStatement cache. This controls the total number of statements cached, for all connections.
100skava.hibernate.c3p0MinSizeThis property is used to set minimum connection pool for hibernate.
101skava.hibernate.c3p0TimeoutThis property holds the pool’s idle connection timeout post which the connection is removed from the pool. The value mentioned here is in seconds. The value of 0 indicates that idle connections never expire.
102skava.hibernate.dialectThis property holds the dialect to be used by Hibernate. The dialect specifies the type of database used in Hibernate so that Hibernate can generate appropriate type of SQL statements.
103skava.hibernate.driverClassNameThis property holds the JDBC driver class name for making the connections to the database.
104skava.hibernate.enabledThis property indicates whether the Hibernate component is enabled or disabled for this application. It is recommended that not to update this property from the default value.
105skava.hibernate.formatSqlThis property indicates whether the SQL statements enabled for printing should be formatted or not. If this property and the property skava.hibernate.showSql is set to true then the queries are SQL formatted making it more readable.
106skava.hibernate.hbm2ddlAutoThis property holds the strategy to be used by Hibernate on startup. The possible values are validate, update, create, or create-drop which indicate the appropriate action will be taken on startup. It is recommended that the value is to be set as none in the production and/or production-like environments because where the schema will not be created every time the application starts up.
107skava.hibernate.hibernateReader.acquireIncrementThis property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3.
108skava.hibernate.hibernateReader.c3p0IdleTestPeriodThis property holds the idle time in seconds before a connection is automatically validated. If it is greater than 0, c3p0 will test all idle, pooled but unchecked-out connections, at the specified time period (in seconds)
109skava.hibernate.hibernateReader.c3p0MaxSizeThis property holds the maximum number of JDBC connections to be held in the pool at any given time. You need to take extra care while updating this value since it has a direct impact on the performance of the application, tune only when there is a necessity. The hibernate default value is 100.
110skava.hibernate.hibernateReader.c3p0MaxStatementsThis property holds the number of prepared statements that be cached, i.e., c3p0‘s global PreparedStatement cache. This controls the total number of Statements cached, for all Connections.
111skava.hibernate.hibernateReader.c3p0MinSizeThis propery holds the minimum number of JDBC connections in the pool. The default hibernate value is 1.
112skava.hibernate.hibernateReader.c3p0TimeoutThis property is used to set database connection timeout for hibernate.
113skava.hibernate.hibernateReader.enabledThis property is used to enable the reader DB.
114skava.hibernate.hibernateReader.initialPoolSizeThis property specifies the number of connections a pool tries to acquire upon startup. The default value is 3.
115skava.hibernate.hibernateReader.urlThis property is used to set the database URL.
116skava.hibernate.initialPoolSizeThis property specifies the number of connections a pool tries to acquire upon startup. The default value is 3.
117skava.hibernate.newGeneratorMappingsThis property holds the Hibernate setting. It indicates whether the new IdentifierGenerator implementations are used for AUTO, TABLE, and SEQUENCE or not. If it is set to false, the ID generation is left to the DB sequence or the application logic. It is recommended that this property is set as false.
118skava.hibernate.packageToScanThis property indicates the Java package having all the database entity objects to be used by Hibernate component.
119skava.hibernate.passwordThis property holds the data store password to be used by Hibernate component to connect to the database.
120skava.hibernate.portThis property holds the port number of the database to be used by Hibernate component to connect to the database.
121skava.hibernate.showSqlThis property indicates whether the SQL generated by Hibernate to be printed in the log file or not. If it is set to true, will print all the SQLs generated by Hibernate as part of the dialect.
122skava.hibernate.urlThis property holds the database JDBC URL to enable the database connection.
123skava.hibernate.usernameThis property holds the username to be used by Hibernate component to connect to the database.
124skava.hikari.cachePrepStmtsThis property is used to set the value to true so that other configurations, like skava.hikari.prepStmtCacheSize and skava.hikari.prepStmtCacheSqlLimit have any effect.
125skava.hikari.dataSourceClassNameThis property is available only via programmatic configuration or IoC container. This property allows you to directly set the instance of the DataSource to be wrapped by the pool, rather than having HikariCP construct it via reflection. This can be useful in some dependency injection frameworks. When this property is specified, the dataSourceClassName property and all DataSource-specific properties will be ignored. There is no default value.
126skava.hikari.enabledThis property enables or disables the Hibernate Hikari component.
127skava.hikari.idleTimeoutThis property controls the maximum amount of time that a connection is allowed to sit idle in the pool. This setting only applies when minimumIdle is defined to be less than maximumPoolSize. The idle connections will not be retired until the pool reaches minimumIdle connections. Whether a connection is retired as idle or not is subject to a maximum variation of +30 seconds, and average variation of +15 seconds. A connection will never be retired as idle before this timeout. A value of 0 indicates the idle connections are never removed from the pool. The minimum allowed value is 10000ms (i.e., 10 seconds). The default value is 600000 ms (i.e., 10 minutes).
128skava.hikari.maximumPoolSizeThis property controls the maximum size of the pool, including both idle and in-use connections. This value determines the maximum number of actual connections to the database backend. The value is determined by your execution environment. When the pool reaches to this size and no idle connections are available, the call getConnection() block for up to connectionTimeout milliseconds before timing out. The default value is 10.
129skava.hikari.maxLifetimeThis property controls the maximum lifetime of a connection in the pool. An in-use connection will never be retired, only when it is closed will it then be removed. On a connection-by-connection basis, minor negative attenuation is applied to avoid mass-extinction in the pool. We strongly recommend setting this value, and it should be several seconds shorter than any database or infrastructure imposed connection time limit. A value of 0 indicates no maximum lifetime (infinite lifetime), subject of course to the idleTimeout setting. The default value is 1800000 (i.e., 30 minutes).
130skava.hikari.poolNameThis property represents a user-defined name for the connection pool. It appears mainly in the logging and JMX management consoles to identify pools and pool configurations. The default value is auto-generated.
131skava.hikari.prepStmtCachesizeThis property sets the cache size of the PreparedStatement.
132skava.hikari.prepStmtCacheSqlLimitThis property sets the SQL limit of the PreparedStatement to be cached.
133skava.hikari.useServerPrepStmtsThis property is used to set useServerPrepStmts.
134skava.keyprovider.algorithmThis property is used to set the algorithm to be used for encryption.
135skava.keyprovider.enabledThis property is used to enable/disable the key provider.
136skava.keyprovider.keyProviderClassThis property is used to set the fully qualified name of the custom implementation class.
137skava.keyprovider.keySizeThis property is used to set the key size
138skava.keyprovider.keystorePasswordThis property is used to set the keystore password.
139skava.keyprovider.keystorePathThis property is used to set the keystore path.
140skava.localization.cookieEnabledThis property is used to enable/disable the localization component.
141skava.localization.default-localeThis property holds the default locale to be used for all response messages if it has not been provided in the request.
142skava.localization.enabledThis property indicates whether the localization component is enabled or not. The value true indicates it is enabled and false indicates it is disabled.
143skava.localization.externalPathThis property holds the external path from where the localized messages are to be read from.
144skava.localization.param-nameThis property holds the parameter name in which the localization component is used.
145skava.localization.resourceBundleBaseNameThis property holds the resource bundle's base name.
146skava.log.enabledThis property is used to set the resource bundle's base name.
147skava.log.fileAppenderEnabledThis property indicates whether the log needs to be appended to a log file or not. If it is set to true the log is written to the log file as specified in log4j2.yml.
148skava.log.fluentdAppenderEnabledThis property indicates whether the log file should be aggregated to Fluentd directly rather than to a file or not.
149skava.log.fluentdHostThis property holds the hostname of Fluentd server instance where the log will be aggregated.
150skava.log.fluentdPatternThis property holds the pattern for writing logs into the Fluentd server.
151skava.log.fluentdPortThis property holds the port of Fluentd server instance where the log will be aggregated.
152skava.log.fluentdTagNameThis property holds the tag name to be added to the logs.
153skava.secretsmanager.classNameThis property is used to specify which class to be used for the secret management.
154skava.swaggerglobalparams.enabledThis property indicates the Swagger global params. The default value is false. If this property value is set to true, the Swagger global params from the application .yml will be referred and added in the Swagger UI.
155spring.application.nameThis property holds the application name of the Spring Boot application.
156spring.autoconfigure.excludeThis property holds the classes that are to be excluded from the Spring's autoconfiguration.
157spring.cloud.zookeeper.config.enabledThis property is used to enable/disable the ZooKeeper base path.
158spring.cloud.zookeeper.config.rootThis property is used to enable/disable the ZooKeeper base path.
159spring.cloud.zookeeper.config.watcher.enabledThis property is used to enable/disable the zookeeper watcher.
160spring.cloud.zookeeper.connect-stringThis property is used to located somewhere other than localhost:2181, the configuration is required to locate the server.
161spring.cloud.zookeeper.enabledThis property is used to enable/disable the ZooKeeper server.
162spring.sleuth.trace-id128This property is used to enable/disable the sleuth 128 bit traceid in the logs.
163ZK_REDIS_SSL_ENABLEDThis property enables or disables the Redis server SSL. The default value is FALSE.
164ZK_REDIS_TIMEOUTThis property holds connection timeout value of Redis in milliseconds.
The default value is 10000.
165ZK_REDIS_USERNAMEThis property holds the login username of the Redis server.
The default value is empty.
166ZK_PROTOCOLSThis property enables macro support for the TLS protocol version.
167ZK_REDIS_PASSWORDThis property holds the Redis password.
168skava.cache.redis.username
Login username of the redis server.
169endpoints.loggers.enabledThis property is used to enable or disable the logger.
170web.exposure.includeThis property is used to expose the management endpoints.
171server.max-http-header-sizeTo increase http header size we have externalize this property.
172externalEventConfig.fileHostThis property is used to set the hosting events on external website.
173externalEventConfig.tempStoragePathThis property is used to set the file path for the external events.
174skava.event.rabbitmq.amqpEnabledThis property is used to enable AMQP (Advanced Message Queuing Protocol). When the value is
  • true: The RabbitMQ is enabled.
  • false: The AMQP is enabled.
Note: To enable AMQP, contact the Infra team.


Revision History
2024-07-12 | SD – Updated ZK properties.
2024-06-19 | SD – Updated ZK properties for 8.17.0 to 8.16.0.
2023-10-22 | JP – Updated content for 8.15.4 release.
2023-01-09 | JP – Updated content for 8.13.0 release.
2022-04-10 | JP – Fixed link and http issues.
2021-12-27 | AN – Updated content for 8.11 release.
2020-12-09 | SW – Added missing properties.
2020-03-09 | AN – Updated content for April 2020 release.
2020-01-14 | AN – Updated content for February 2020 release.
2019-07-09 | AM – Updated ZK properties for July 2019 release.
2019-06-08 | PLK – Minor copyedits.
2019-05-10 | AM – Updated to a new table tool.
2019-05-01 | PLK – Minor copyedit.
2019-01-21 | PLK – Content uploaded.