From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|Standalone=No
 
|Standalone=No
 
|DisplayName=Environment Variables
 
|DisplayName=Environment Variables
|Platform=PureEngage
+
|Platform=GenesysEngage-cloud
 
|Context=Environment variables in GDL
 
|Context=Environment variables in GDL
 
|Section={{Section
 
|Section={{Section

Latest revision as of 02:30, July 25, 2020

Difference between revisions of "GDL/9.0/Deployment/Environmental Variables"

Environment variables in GDL

Mandatory Environment Variables

Although all the mandatory configuration parameters are set in the docker-compose files, the following mandatory environment variables can be used to change the configuration of Kafka and Zookeeper in .yml files.

IP addresses of the Zookeeper pod(s)

It should be a comma delimited string used to generate the value of zookeeper.connect. The format of the array is:

{IP Address1}:{port1}[;{IP Address2}:{port2};{IP Address3}:{port3}]

Examples:

KAFKA_ZOOKEEPER_CONNECT=10.64.4.253:2181,10.64.4.10:2181,10.64.4.78:2181

For single host deployment:

KAFKA_ZOOKEEPER_CONNECT=localhost:2181, localhost:2183,localhost:2185

IP addresses of the Kafka pods

The format of the array is given below (if the listeners are more, it should be delimited by a comma):

KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092

Note, the hostname cannot be used other than "localhost" in one case.

Broker ID

KAFKA_BROKER_ID = 1

Zookeeper Environment Variable

ZOOKEEPER_CLIENT_PORT=2181

If it is a multi-Zookeeper cluster, the following Environment variables are also mandatory.

  • ZOOKEEPER_SERVERS
  • ZOOKEEPER_SERVER_ID
Comments or questions about this documentation? Contact us for support!