The following table describes the ZooKeeper properties for the Inventory microservice:

S.NOPROPERTYDESCRIPTION
1skava.cache.redis.cacheNamesThis property holds the Redis cache names used by the application.
2skava.cache.redis.clearCacheEventNameThis property is used to set the event name for cache clear operation.
3skava.cache.redis.databaseThis property holds the Redis database index used by the connection factory.
4skava.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 with the vaulue true for the production and production-grade environments (like performance).
5skava.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.
6skava.cache.redis.hostThis property holds the Redis server's hostname/IP for caching objects.
7skava.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.
8skava.cache.redis.portThis property holds the Redis server's port for the application to connect for both read and write cache operations.
9skava.cache.redis.timeoutThis property holds the connection timeout value of all Redis connections for both read and write.
10skava.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.
11skava.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.
12skava.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.
13skava.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.
14skava.hibernate.driverClassNameThis property holds the JDBC driver class name for making the connections to the database.
15skava.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.
16skava.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.
17skava.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.
18skava.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.
19skava.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.
20skava.hibernate.packageToScanThis property indicates the Java package having all the database entity objects to be used by Hibernate component.
21skava.hibernate.passwordThis property holds the data store password to be used by Hibernate component to connect to the database.
22skava.hibernate.portThis property holds the port number of the database to be used by Hibernate component to connect to the database.
23skava.hibernate.usernameThis property holds the username to be used by Hibernate component to connect to the database.
24skava.localization.default-localeThis property holds the default locale to be used for all response messages if it has not been provided in the request.
25skava.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.
26skava.localization.externalPathThis property holds the external path from where the localized messages are to be read from.
27skava.localization.param-nameThis property holds the parameter name in which the localization component is used.
28skava.localization.resourceBundleBaseNameThis property holds the resource bundle's base name.
29server.tomcat.accesslog.enabledThis property controls the Tomcat logs for the Boot application.
30server.tomcat.accesslog.patternThis property holds the pattern of the access logs to be printed. This will follow the Apache Tomcat parameters.
31server.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.
32skava.event.rabbitmq.ssl.enabledThis property enables or disables the SSL support for RabbitMQ server.
33skava.event.rabbitmq.ssl.algorithmThis property sets the SSL algorithm, which is used for the RabbitMQ server.
34skava.event.rabbitmq.cluster-enabledThis property enables or disables the cluster for the RabbitMQ server.
35skava.event.rabbitmq.addressesThis property sets the addresses for the RabbitMQ server cluster.
36skava.cache.cascadeCacheNamesThis property enables the Cascade cache by its name.
37skava.cache.enableCascadeThis property enables or disables the Cascade cache.
38skava.cache.enabledThis property enables or disables the cache.
39skava.cache.localCache.config.allCollectionCache.cacheSizeThis property sets the local cache entry size of all the collections.
40skava.cache.localCache.config.allCollectionCache.maxIdleInSecondsThis property sets the local cache maximum idle time (in seconds) of all the collections.
41skava.cache.localCache.config.allCollectionCache.timeToLiveInSecondsThis property sets the local cache expiry time (in seconds) of all the collections.
42skava.cache.localCache.config.binCache.cacheSizeThis property sets the local cache entry size of the bins.
43skava.cache.localCache.config.binCache.maxIdleInSecondsThis property sets the local cache maximum idle time (in seconds) of the bins.
44skava.cache.localCache.config.binCache.timeToLiveInSecondsThis property sets the local cache expiry time (in seconds) of the bins.
45skava.cache.localCache.config.collectionCache.cacheSizeThis property sets the local cache entry size of the collections.
46skava.cache.localCache.config.collectionCache.maxIdleInSecondsThis property sets the local cache maximum idle time (in seconds) of the collections.
47skava.cache.localCache.config.collectionCache.timeToLiveInSecondsThis property sets the local cache expiry time (in seconds) of the collections.
48skava.cache.localCache.config.collectionPropertyCache.cacheSizeThis property sets the local cache entry size of the collection properties.
49skava.cache.localCache.config.collectionPropertyCache.maxIdleInSecondsThis property sets the local cache maximum idle time (in seconds) of the collection properties.
50skava.cache.localCache.config.collectionPropertyCache.timeToLiveInSecondsThis property sets the local cache expiry time (in seconds) of the collections properties.
51skava.cache.localCache.typeThis property sets the local cache type for L1 cache used in the cascade cache (uses both in-memory cache and server-side cache using Redis).
52skava.cache.redis.clientThis property indicates the type of client for Redis connection.
53skava.cache.redis.cluster.maxRedirectsThis property contains the maximum number of redirects to follow when executing commands across the clusters of the Redis server.
54skava.cache.redis.cluster.nodesThis property contains a list of comma-separated host:port pairs to bootstrap from. This represents an initial list of cluster nodes. It is required to have at least one entry.
55skava.cache.redis.clusterEnabledThis property enables or disables the cluster of the Redis server.
56skava.cache.redis.maxTimeToliveThis 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 can request Redis server to hold the objects for a specified time, but it is the LRU/LCU, which determines how long an entry survives in the cache.
57skava.cache.redis.sentinel.masterThis property contains the name of the Redis server.
58skava.cache.redis.sentinel.nodesThis property contains a list of comma-separated host:port pairs of the Redis server.
59skava.cache.redis.sslThis property enables or disables the SSL in the Redis server:
  • true - If SSL is enabled in the Redis server.
  • false - If SSL is not enabled in the Redis server.
60skava.cache.redis.urlThis property specifies the URL of the Redis server.
61skava.cache.useOnlyL2CacheThis property enables or disables the L2 cache (that is, in-memory cache).
62skava.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.
63skava.hibernate.hibernateReader.enabledThis property is used to enable the reader DB.
64skava.event.enableExternalEventThis property is used to enable/disable the external event component.
65skava.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)
66skava.cors.pathPatternThis property is used to set pathPattern for cors request.
67skava.cors.allowedHeadersThis property is used to set allowedHeaders for cors request.
68skava.hibernate.c3p0MinSizeThis property is used to set minimum connection pool for hibernate.
69skava.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).
70skava.core.releasedefinition.enabledThis property is used to enable the release definition endpoint.
71skava.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.
72skava.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.
73skava.auditlog.db.userNameThis property is used to connect to the MySQL DB for audit logs.
74skava.auditlog.db.urlThis property is used to connect to the MySQL DB for audit logs.
75skava.hibernate.hibernateReader.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 0 indicates that idle connections never expire.
76skava.auditlog.db.driverClassNameThis property is used to connect to the MySQL DB for audit logs.
77skava.hibernate.hibernateReader.initialPoolSizeThe number of connections a pool tries to acquire upon startup. The default value is 3.
78skava.cache.localCache.config.collectionAttributeCache.timeToLiveInSecondsThis property enables the local cache expiry time in seconds.
79skava.clusterEnabledThis property indicates the toggle cluster for Redis server.
80skava.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.
81skava.hibernate.initialPoolSizeThis property specifies the number of connections a pool tries to acquire upon startup. The default value is 3.
82skava.cache.localCache.config.collectionAttributeCache.cacheSizeThis property indicates the local cache entry size.
83skava.cors.enabledThis property is used to enable the cors component.
84skava.hibernate.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 it only when there is a necessity.
85skava.auditlog.db.passwordThis property is used to connect to the MySQL DB for audit logs.
86skava.cache.localCache.config.collectionAttributeCache.maxIdleInSecondsThis property enables the local cache maximum idle time in seconds.
87skava.event.externalClassNameThis property is used to set the fully qualified name of the custom implementation class.
88skava.localization.defaultEncodingThis property is used to set default encoding.
89skava.cors.allowedOriginsThis property is used to set allowedOrigins for cors request.
90skava.cors.allowedMethodsThis property is used to set allowedMethods for cors request.
91spring.sleuth.trace-id128This property is used to enable/disable the sleuth 128 bit trace ID in the logs.
92skava.secretsmanager.classNameThis property is used to specify which class to be used for the secret management.
93skava.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.
94skava.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.
95skava.event.eventbridge.regionThis property is used to set the fully qualified name of the custom implementation class.
96skava.event.externalFatEventClassThis property is used to set the fully qualified name of the custom implementation class.
97skava.localization.cookieEnabledThis property is used to enable/disable the localization component.
98skava.cors.exposedHeadersThis property is used to set exposedHeaders for cors request.
99skava.auditlog.db.enabledThis property is used to enable/disable the DB for audit logs.
100skava.cors.maxAgeThis property is used to set maxAge for cors request in seconds.
101skava.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.
102skava.localization.useCodeAsDefaultMessageThis property is used to set code as default message.
103server.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.
104skava.hibernate.hibernateReader.c3p0MinSizeThis propery holds the minimum number of JDBC connections in the pool. The default hibernate value is 1.
105skava.event.enableFatEventThis property is used to enable/disable the fat event.
106skava.event.eventbridge.eventBusNameThis property is used to set the fully qualified name of the custom implementation class.
107ZK_REDIS_SSL_ENABLEDThis property enables or disables the Redis server SSL. The default value is FALSE.
108ZK_REDIS_TIMEOUTThis property holds connection timeout value of Redis in milliseconds.
The default value is 10000.
109ZK_REDIS_USERNAMEThis property holds the login username of the Redis server.
The default value is empty.
110ZK_PROTOCOLSThis property enables macro support for the TLS protocol version.
111ZK_REDIS_PASSWORDThis property holds the Redis password.
112skava.cache.redis.username
This property indicates the login username of the Redis server.
113endpoints.loggers.enabledThis property is used to enable or disable the logger.
114web.exposure.includeThis property is used to expose the management endpoints.
115server.max-http-header-sizeTo increase http header size we have externalize this property.
116externalEventConfig.fileHostThis property is used to set the hosting events on external website.
117externalEventConfig.tempStoragePathThis property is used to set the file path for the external events.
118skava.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.
119CheckInventoryClassNameThis attribute indicates the class for implementation of check inventory.


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-05 | 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-10 | AN – Added the 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-09 | PLK – Minor copyedits.
2019-05-16 | AN – Updated to a new table tool.
2019-01-23 | PLK – Page created and content uploaded.