Skip to main content
Version: 2.2.0

RTUS-PMS Container Configuration

This section explained the environment variables used in the Docker Compose configuration file to initialize RTUS-PMS.

Environment VariableDescription
SERVER_PORTPort to listen for request. Default is 8080.
SERVER_ERROR_INCLUDE_MESSAGEWhether to include server error in the REST error message. Default is always which will alway include. Can disabled by specifying never.
SPRING_DATASOURCE_URLThe JDBC connection string to the database.
SPRING_DATASOURCE_USERNAMEThe username of the database user.
SPRING_DATASOURCE_PASSWORDThe password of the database user.
SPRING_JPA_DATABASE-PLATFORMThe database dialect to use.
SPRING_JPA_PROPERTIES_HIBERNATE_DEFAULT_SCHEMAThe database schema to use by Hibernate.
SPRING_LIQUIBASE_DEFAULT-SCHEMAThe database schema to use by liquibase. Should be the same as the one use by Hibernate.
RTUS_CLUSTERNAMEThe name of the Hazelcat cluster used to communicate with RTUS-SEH.
RTUS_SERVICE-DNS_ENABLEWhether to enable Hazelcast member discovery using DNS Lookup. You should enable it when deploying RTUS in Docker or Kubernetes.
RTUS_SERVICE-DNSThe name of the DNS service to use for lookup.
RTUS_SERVICE-DNS-TIMEOUTCustom time for how long the DNS Lookup is checked.
RTUS_SERVICE-PORTThe Hazelcast port to use for member communication.
RTUS_ADMIN_SECURITY_ROLESThe roles that allow to configure security of Map, User Value Map, and Topic.
RTUS_KEYCLOAK_URLThe URL to connect to Keycloak.
RTUS_ACTIVE-TENANT_CLAIMNAMEThe claim name in Access Token that contains the active tenant value.
RTUS_TOPIC_TIME-TO-LIVE-SECONDSHow long an event to stay in Topic before been removed.
RTUS_TOPIC_CAPACITYThe maximum number of event a Topic can hold.
RTUS_MAP_MAX-IDLE-SECONDSLimits the lifetime of the entries relative to the time of the last read or write access performed on them. The entries whose idle period exceeds this limit are expired and evicted automatically. Value of 0 means infinite.
RTUS_TOPIC_CAPACITYDefine the map’s maximum size. When the maximum size is reached, map entries are removed based on the value of the eviction-policy settings. Value of 0 means no limit.
RTUS_MAP_EVICTION-POLICYDefines which map entries to remove when the size of the map grows larger than map's maximum size.
Accepted values:
  • NONE: If set, no items are evicted and the size element is ignored.
  • LRU: The least recently used map entries are removed.
  • LFU: The least frequently used map entries are removed.
caution

If you configured RTUS_TOPIC_CAPACITY to less than 10, you will need to adjust the RTUS_TOPIC_READ-BATCH-SIZE in RTUS-SEH to match or it will failed.