Environment Variables

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual GDL Deployment Guide for version 9.0 of Genesys Data Layer.

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}]



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):


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

Broker ID


Zookeeper Environment Variable


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