Use the environment variables that are available for UtilityServiceGroup- Search
and Audit services to enable specific functions to best fit your business requirements.
Search service
Table 1. Search service properties
Environment variable |
Description |
Default |
CAF_INDEX_MAX_RESULT_WINDOW |
Maximum number of results to be fetched in a given page. |
50000 |
CAF_ELASTICSEARCH_REST_CLIENT_MAX_CONN_PER_ROUTE |
Sets maximum connections per route. |
10 |
CAF_ELASTICSEARCH_REST_CLIENT_MAX_CONN_TOTAL |
Sets maximum total connections. |
30 |
CAF_DISTRIBUTION_SHIP_NODES_CACHE_DURATION_MINUTES |
Duration in minutes after which the distribution group cache expires. |
10 |
CAF_MAX_ALLOWED_NUMBER_OF_ITEM_IDS |
Allowed number of itemIds . |
10 |
CAF_MAX_ALLOWED_NUMBER_OF_SHIP_NODES |
Maximum allowed number of shipNodes . |
200 |
CAF_MAX_ALLOWED_PAGE_SIZE |
Maximum allowed value of pageSize . |
100 |
CAF_WORKER_POOL_SIZE |
The size of the threadpool that processes app-server requests. It is similar to configuring a
traditional app-server threadpool. |
100 |
CAF_NUMBER_OF_VERTICLES |
The number of vertx server deployment verticles. |
Number of processors available to JVM |
CAF_LOG_LEVEL |
A variable to set the wanted logging level. |
INFO |
CAF_LOG_CHANNEL |
The channel to use for logging. Allowed values are CONSOLE ,
UDP , and KAFKA . |
CONSOLE |
Audit service
Table 2. Audit service
properties
Environment variable |
Description |
Default |
CAF_INDEX_MAX_RESULT_WINDOW |
Maximum number of results to be fetched in a given page. |
50000 |
CAF_ELASTICSEARCH_REST_CLIENT_MAX_CONN_PER_ROUTE |
Sets maximum connections per route. |
10 |
CAF_ELASTICSEARCH_REST_CLIENT_MAX_CONN_TOTAL |
Sets maximum total connections. |
30 |
CAF_CUSTOM_ATTRIBUTES_CACHE_DURATION_SECONDS |
Duration in seconds after which the configured CustomAttribute cache
expires. |
600 |
CAF_WORKER_POOL_SIZE |
The size of the threadpool that processes app-server requests. This is similar to configuring
a traditional app-server threadpool. |
100 |
CAF_NUMBER_OF_VERTICLES |
The number of vertx server deployment verticles. |
Number of processors available to JVM |
CAF_LOG_LEVEL |
A variable to set the wanted logging level. |
INFO |
CAF_LOG_CHANNEL |
The channel to use for logging. Allowed values are CONSOLE ,
UDP , and KAFKA . |
CONSOLE |
CAF_ALLOW_SPECIAL_CHAR_IN_WILDCARD_QUERY |
A variable to allow a special character in Elastisearch wildcard query value. |
FALSE |