The following table describes the ZooKeeper properties of the Pricing microservice:
S.NO | PROPERTY | DESCRIPTION |
---|---|---|
1 | hystrix.command.user-key.circuitBreaker.requestVolumeThreshold | This property sets the minimum number of requests in a rolling window that will trip the circuit. |
2 | hystrix.command.user-key.circuitBreaker.sleepWindowInMilliseconds | This property sets the amount of time, after tripping the circuit, to reject requests before allowing attempts again to determine if the circuit should again be closed. |
3 | hystrix.command.user-key.execution.isolation.thread.timeoutInMilliseconds | This property sets instance-specific values dynamically which overrides the preceding three levels of defaults. |
4 | server.servlet.contextPath | This property holds the Spring Boot application's context path. |
5 | server.ssl.enabled | This property controls the SSL configuration of the Boot application. When it is set to true , the application is started in HTTPS protocol only and all HTTP request will be rejected. |
6 | server.ssl.enabled-protocols | This property holds the protocols enabled for this application, it takes comma separated values |
7 | server.ssl.key-alias | This property holds the key store alias name set during the import using keytool utility. |
8 | server.ssl.key-store | This property holds the key store's PrivateKeyEntry which will be used as the SSL certificate for the microservice. |
9 | server.ssl.key-store-password | This property holds the key store password for accessing the key store as mentioned in the key-store property. |
10 | server.ssl.key-store-type | This property holds the key store type. |
11 | server.tomcat.accesslog.directory | This property holds the directory in which log files are created. It can be absolute or relative to the Tomcat's base directory. |
12 | server.tomcat.accesslog.enabled | This property controls the Tomcat logs for the Boot application. |
13 | server.tomcat.accesslog.max-days | The property holds the maximum number of days the rotated access logs will be retained before it is deleted. The default value is 10 days. |
14 | server.tomcat.accesslog.pattern | This property holds the pattern of the access logs to be printed. This will follow the Apache Tomcat parameters. |
15 | skava.auditlog.db.driverClassName | This property contains the driver class name of the MySQL DB for the audit logs. |
16 | skava.auditlog.db.enabled | This property enables or disables the DB for audit logs. |
17 | skava.auditlog.db.password | This property contains the password of the MySQL DB for the audit logs. |
18 | skava.auditlog.db.url | This property is used to connect to the MySQL DB for audit logs. |
19 | skava.auditlog.db.userName | This property contains the user name of the MySQL DB for the audit logs. |
20 | skava.auditlog.enabled | This property enables or disables the auditlog component. |
21 | skava.auditlog.file-location | This property sets the file location of the auditlog component. |
22 | skava.auditlog.layout-type | This property sets the layout type of the auditlog component. |
23 | skava.authorization.authExpiryTimeMins | This property holds the expiry time of authorization token generated using the getTestToken API call. The value is mentioned in minutes. |
24 | skava.authorization.authHeader | This 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. |
25 | skava.authorization.enabled | This 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 ). |
26 | skava.authorization.gettesttoken.enabled | This 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. |
27 | skava.authorization.superAdminRoleName | The property indicates the Super Admin role name for the corresponding microservice. |
28 | skava.authorization.tokenSecret | This 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. |
29 | skava.cache.cascadeCacheNames | This property enables the Cascade cache by its name. |
30 | skava.cache.enableCascade | This property enables or disables the Cascade cache. |
31 | skava.cache.enabled | This property enables or disables the cache. |
32 | skava.cache.localCache.config.Price_Attribute_Cache.cacheSize | This property sets the local cache entry size of all the collection attributes. |
33 | skava.cache.localCache.config.Price_Attribute_Cache.maxIdleInSeconds | This property sets the local cache maximum idle time (in seconds) of all the collection attributes. |
34 | skava.cache.localCache.config.Price_Attribute_Cache.timeToLiveInSeconds | This property sets the local cache expiry time (in seconds) of all the collection attributes. |
35 | skava.cache.localCache.config.Price_Collection_Cache.cacheSize | This property sets the local cache entry size of all the collections. |
36 | skava.cache.localCache.config.Price_Collection_Cache.maxIdleInSeconds | This property sets the local cache maximum idle time (in seconds) of all the collections. |
37 | skava.cache.localCache.config.Price_Collection_Cache.timeToLiveInSeconds | This property sets the local cache expiry time (in seconds) of all the collections. |
38 | skava.cache.localCache.config.Price_Property_Cache.cacheSize | This property sets the local cache entry size of all the collection properties. |
39 | skava.cache.localCache.config.Price_Property_Cache.maxIdleInSeconds | This property sets the local cache maximum idle time (in seconds) of all the collection properties. |
40 | skava.cache.localCache.config.Price_Property_Cache.timeToLiveInSeconds | This property sets the local cache expiry time (in seconds) of all the collection properties. |
41 | skava.cache.localCache.config.Price_Version_Cache.cacheSize | This property sets the local cache entry size of all the collections. |
42 | skava.cache.localCache.config.Price_Version_Cache.maxIdleInSeconds | This property sets the local cache maximum idle time (in seconds) of all the collections. |
43 | skava.cache.localCache.config.Price_Version_Cache.timeToLiveInSeconds | This property sets the local cache expiry time (in seconds) of all the collections. |
44 | skava.cache.localCache.type | This 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). |
45 | skava.cache.maxCacheSize | This 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. |
46 | skava.cache.redis.cacheNames | This property holds the Redis cache names used by the application. |
47 | skava.cache.redis.cacheNamesWithTimeToLiveMap.cache_search_count | This property sets the cache search count of the time to live map of the Redis server. |
48 | skava.cache.redis.clearCacheEventName | This property is used to set the event name for cache clear operation. |
49 | skava.cache.redis.client | This property indicates the type of client for Redis connection. |
50 | skava.cache.redis.cluster.maxRedirects | This property contains the maximum number of redirects to follow when executing commands across the clusters of the Redis server. |
51 | skava.cache.redis.cluster.nodes | This 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. |
52 | skava.cache.redis.clusterEnabled | This property enables or disables the cluster of the Redis server. |
53 | skava.cache.redis.database | This property holds the Redis database index used by the connection factory. |
54 | skava.cache.redis.enabled | This 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). |
55 | skava.cache.redis.expTimeTolive | This 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. |
56 | skava.cache.redis.host | This property holds the Redis server's hostname/IP for caching objects. |
57 | skava.cache.redis.password | This 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. |
58 | skava.cache.redis.pool.maxActive | This 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. |
59 | skava.cache.redis.pool.maxIdle | This property holds the maximum number of idle connections in the pool. Use a negative value to indicate an unlimited number of idle connections. |
60 | skava.cache.redis.pool.minIdle | This property holds the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. |
61 | skava.cache.redis.port | This property holds the Redis server's port for the application to connect for both read and write cache operations. |
62 | skava.cache.redis.sentinel.master | This property contains the name of the Redis server. |
63 | skava.cache.redis.sentinel.nodes | This property contains a list of comma-separated 'host:port ' pairs of the Redis server. |
64 | skava.cache.redis.ssl | This property enables or disables the Redis server's SSL. |
65 | skava.cache.redis.timeout | This property holds the connection timeout value of all Redis connections for both read and write. |
66 | skava.cache.redis.timeout | This property contains the connection timeout of the Redis server. |
67 | skava.cache.redis.url | This property contains the Redis server's URL. |
68 | skava.cache.useOnlyL1Cache | This property enables or disables the L1 cache (that is, in-memory cache). |
69 | skava.cache.useOnlyL2Cache | This property enables or disables the L2 cache (that is, in-memory cache). |
70 | skava.core.releasedefinition.enabled | This property enables the release definition endpoint. |
71 | skava.cors.allowedHeaders | This property sets allowedHeaders of the CORS component. |
72 | skava.cors.allowedMethods | This property sets allowedMethods of the CORS component. |
73 | skava.cors.allowedOrigins | This property sets allowedOrigins of the CORS component. |
74 | skava.cors.enabled | This property enables the CORS component. |
75 | skava.cors.exposedHeaders | This property sets exposedHeaders of the CORS component. |
76 | skava.cors.maxAge | This property sets maxAge of the CORS component in seconds. |
77 | skava.cors.pathPattern | This property sets pathPattern of the CORS component. |
78 | skava.event.enableExternalEvent | This property enables or disables the external event component. |
79 | skava.event.enableFatEvent | This property enables or disables the fat event. |
80 | skava.event.eventbridge.eventBusName | This property sets the fully qualified name of the custom implementation class. |
81 | skava.event.eventbridge.region | This property sets the fully qualified name of the custom implementation class. |
82 | skava.event.externalClassName | This property sets the fully qualified name of the custom implementation class. |
83 | skava.event.externalFatEventClass | This property sets the fully qualified name of the custom implementation class. |
84 | skava.event.rabbitmq.addresses | This property sets the addresses for the RabbitMQ server cluster. |
85 | skava.event.rabbitmq.cluster-enabled | This property enables or disables the cluster for the RabbitMQ server. |
86 | skava.event.rabbitmq.deadLetterExchange | This property sets the dead letter exchange for the RabbitMQ server. |
87 | skava.event.rabbitmq.defaultMaxRetryCount | This property sets the default maximum retrival count for the RabbitMQ server. |
88 | skava.event.rabbitmq.maxConcurrentConsumers | This property is used to set the maximum allowed concurrent consumers for the RabbitMQ server. |
89 | skava.event.rabbitmq.maxRetryCount | This property sets the maximum retry count for the RabbitMQ server. |
90 | skava.event.rabbitmq.prefetchCount | This property sets theprefetech count for the RabbitMQ server. |
91 | skava.event.rabbitmq.ssl.algorithm | This property sets the SSL algorithm, which is used for the RabbitMQ server. |
92 | skava.event.rabbitmq.ssl.enabled | This property enables or disables the SSL support for RabbitMQ server. |
93 | skava.event.rabbitmq.startConsumerMinInterval | This property sets the minimum interval to start the consumer. |
94 | skava.hibernate.acquireIncrement | This property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3. |
95 | skava.hibernate.c3p0IdleTestPeriod | This property holds the idle time (in seconds) before a connection is validated automatically. If the given number is greater than 0, the Hibernate connection pool c3p0 tests all idle connections pooled, but validates the connections for every number of seconds. |
96 | skava.hibernate.c3p0MaxSize | This 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. |
97 | skava.hibernate.c3p0MaxStatements | This property holds the number of prepared statements that be cached that is c3p0 ‘s global PreparedStatement cache. This controls the total number of Statements cached, for all Connections. |
98 | skava.hibernate.c3p0MinSize | This property holds the minimum 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. |
99 | skava.hibernate.c3p0Timeout | This 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. |
100 | skava.hibernate.dialect | This 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. |
101 | skava.hibernate.driverClassName | This property holds the JDBC driver class name for making the connections to the database. |
102 | skava.hibernate.enabled | This 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. |
103 | skava.hibernate.formatSql | This 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. |
104 | skava.hibernate.hbm2ddlAuto | This 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. |
105 | skava.hibernate.hibernateReader.acquireIncrement | This property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3. |
106 | skava.hibernate.hibernateReader.c3p0IdleTestPeriod | This property holds the idle time (in seconds) before a connection is automatically validated. |
107 | skava.hibernate.hibernateReader.c3p0MaxSize | This property holds the maximum number of JDBC connections in the pool The Hibernate default value is 100. |
108 | skava.hibernate.hibernateReader.c3p0MaxStatements | This property holds the number of prepared statements that will be cached. If the value increased, increases performance. The Hibernate default value is 0 which indicates caching is disabled. |
109 | skava.hibernate.hibernateReader.c3p0MinSize | This property holds the minimum number of JDBC connections in the pool. The Hibernate default value is 1. |
110 | skava.hibernate.hibernateReader.c3p0Timeout | This property holds the time in seconds when an idle connection is removed from the pool. The Hibernate default value is 0 which indicates it never expires. |
111 | skava.hibernate.hibernateReader.enabled | This property enables the Hibernate Reader DB. |
112 | skava.hibernate.hibernateReader.initialPoolSize | This property holds the initial pool size of the Hibernate Reader. |
113 | skava.hibernate.hibernateReader.url | This property is used to read the database URL. |
114 | skava.hibernate.initialPoolSize | This property contains the number of connections a pool will try to acquire upon startup. The default value is 3. |
115 | skava.hibernate.newGeneratorMappings | This 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. |
116 | skava.hibernate.packageToScan | This property indicates the Java package having all the database entity objects to be used by Hibernate component. |
117 | skava.hibernate.password | This property holds the data store password to be used by Hibernate component to connect to the database. |
118 | skava.hibernate.port | This property holds the port number of the database to be used by Hibernate component to connect to the database. |
119 | skava.hibernate.showSql | This 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. |
120 | skava.hibernate.url | This property holds the database JDBC URL to enable the database connection. |
121 | skava.hibernate.username | This property holds the username to be used by Hibernate component to connect to the database. |
122 | skava.localization.default-locale | This property holds the default locale to be used for all response messages if it has not been provided in the request. |
123 | skava.localization.enabled | This property indicates whether the localization component is enabled or not. The value true indicates it is enabled and false indicates it is disabled. |
124 | skava.localization.externalPath | This property holds the external path from where the localized messages are to be read from. |
125 | skava.localization.param-name | This property holds the parameter name in which the localization component is used. |
126 | skava.localization.resourceBundleBaseName | This property holds the resource bundle's base name. |
127 | skava.log.enabled | This property is used to set the resource bundle's base name. |
128 | skava.log.fileAppenderEnabled | This 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 . |
129 | skava.log.fluentdAppenderEnabled | This property indicates whether the log file should be aggregated to Fluentd directly rather than to a file or not. |
130 | skava.log.fluentdHost | This property holds the hostname of Fluentd server instance where the log will be aggregated. |
131 | skava.log.fluentdPattern | This property holds the pattern for writing logs into the Fluentd server. |
132 | skava.log.fluentdPort | This property holds the port of Fluentd server instance where the log will be aggregated. |
133 | skava.log.fluentdTagName | This property holds the tag name to be added to the logs. |
134 | skava.price.liveEnvironment | This property indicates whether the deployed environment is live or staging (authoring) environment. When it is set to true , indicates the live environment. |
135 | skava.price.liveEnvironment | This property specifies whether the deployment environment is live or authoring/staging environment. The value can be:
false . |
136 | skava.secretsmanager.className | This property specifies the class used for secret management. |
137 | skava.swaggerglobalparams.enabled | This 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. |
138 | spring.application.name | This property holds the application name of the Spring Boot application. |
139 | spring.autoconfigure.exclude | This property holds the classes that are to be excluded from the Spring's autoconfiguration. |
140 | spring.cloud.zookeeper.config.enabled | This property enables or disables the ZooKeeper base path. |
141 | spring.cloud.zookeeper.config.root | This property is used to configure the ZooKeeper's base path. |
142 | spring.cloud.zookeeper.config.watcher.enabled | This property enables or disables the ZooKeeper Watcher. |
143 | spring.cloud.zookeeper.connect-string | This property is used to specify the location if the server locates somewhere other than localhost:2181 . This configuration is required to locate the server. |
144 | spring.cloud.zookeeper.enabled | This property enables or disables the ZooKeeper server. |
145 | spring.sleuth.trace-id128 | This property enables or disables the sleuth128 bit trace ID in the logs. |
146 | ZK_REDIS_SSL_ENABLED | This property enables or disables the Redis server SSL. The default value is FALSE . |
147 | ZK_REDIS_TIMEOUT | This property holds connection timeout value of Redis in milliseconds. The default value is 10000. |
148 | ZK_REDIS_USERNAME | This property holds the login username of the Redis server. The default value is empty. |
149 | ZK_PROTOCOLS | This property enables macro support for the TLS protocol version. |
150 | ZK_REDIS_PASSWORD | This property holds the Redis password. |
151 | skava.cache.redis.username | This property indicates the login username of the Redis server. |
152 | endpoints.loggers.enabled | This property is used to enable or disable the logger. |
153 | web.exposure.include | This property is used to expose the management endpoints. |
154 | server.max-http-header-size | To increase http header size we have externalize this property. |
155 | externalEventConfig.fileHost | This property is used to set the hosting events on external website. |
156 | externalEventConfig.tempStoragePath | This property is used to set the file path for the external events. |
157 | skava.event.rabbitmq.amqpEnabled | This property is used to enable AMQP (Advanced Message Queuing Protocol). When the value is
|
158 | skava.properties.disableSpringBatchInAdmin | This property is used to enable/disable spring batch in admin. |
Revision History
2024-08-05 | SD – Updated ZK properties.
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-06 | AN – Updated content for 8.13 release.
2022-04-10 | JP – Fixed link and http issues.
2021-12-27 | AN – Updated content for 8.11 release.
2020-12-16 | 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-11 | PLK – Minor copyedits.
2019-05-20 | JP – Uploaded to a new table tool.
2019-04-16 | AN – Content updated for April 2019 release.
2019-01-23 | PLK – Page added and content uploaded.