Difference between revisions of "GDL/9.0/Deployment/Environmental Variables"
(Published) |
m (Text replacement - "\|Platform=([^\|]*)GenesysEngage-onpremises([\|]*)" to "|Platform=$1GenesysEngage-cloud$2") |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Article | {{Article | ||
|Standalone=No | |Standalone=No | ||
− | |DisplayName= | + | |DisplayName=Environment Variables |
− | |Platform= | + | |Platform=GenesysEngage-cloud |
− | |Context= | + | |Context=Environment variables in GDL |
|Section={{Section | |Section={{Section | ||
− | |sectionHeading=Mandatory | + | |sectionHeading=Mandatory Environment Variables |
− | | | + | |Standalone=No |
− | | | + | |ComingSoon=No |
+ | |Status=No | ||
+ | |alignment=Vertical | ||
+ | |structuredtext=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)''' | '''IP addresses of the Zookeeper pod(s)''' |
Latest revision as of 02:30, July 25, 2020
Contents
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