Skip to content

Kafka#

The following table contains the list of custom properties that can be configured for the Kafka service. To use a custom property from the table, just add it to the following YML file in the custom-vars folder configured as per your environment:

  • vars.kafka.yml
Property Description Values Default Value
KAFKA_PORT Property to change the default port number for Kafka. 9092
Memory Variables
KAFKA_HEAP_MIN_MEMORY_MB Minimum Java Heap memory in MB used by Kafka. For example, KAFKA_HEAP_MIN_MEMORY_MB: "1024"
KAFKA_HEAP_MIN_MEMORY Minimum Java Heap memory used by Kafka. Setting this value will override KAFKA_HEAP_MIN_MEMORY_MB. For example, KAFKA_HEAP_MIN_MEMORY: "1g"
KAFKA_HEAP_MAX_MEMORY_MB Maximum Java Heap memory in MB used by Kafka. For example, KAFKA_HEAP_MAX_MEMORY_MB: "1024"
KAFKA_HEAP_MAX_MEMORY Maximum Java Heap memory used by Kafka. Setting this value will override KAFKA_HEAP_MAX_MEMORY_MB. For example, KAFKA_HEAP_MAX_MEMORY: "1g"
KAFKA_K8S_MEM_REQUESTS_MB Minimum amount of kubernetes memory in MB to be requested by Kafka. For example, KAFKA_K8S_MEM_REQUESTS_MB: "1024"
KAFKA_K8S_MEM_REQUESTS Minimum amount of kubernetes memory to be used by Kafka. Setting this value will override KAFKA_K8S_MEM_REQUESTS_MB. For example, KAFKA_K8S_MEM_REQUESTS: "1G"
KAFKA_K8S_MEM_LIMITS_MB Maximum amount of kubernetes memory in MB to be requested by Kafka. For example, KAFKA_K8S_MEM_LIMITS_MB: "1024"
KAFKA_K8S_MEM_LIMITS Maximum amount of kubernetes memory to be used by Kafka. Setting this value will override KAFKA_K8S_MEM_LIMITS_MB. For example, KAFKA_K8S_MEM_LIMITS: "1G"
KAFKA_CPU_MIN Minimum amount of kubernetes CPU to be requested by Kafka. For example, KAFKA_CPU_MIN: "0.5"
KAFKA_CPU_MAX Maximum amount of kubernetes CPU to be used by Kafka. For example, KAFKA_CPU_MAX: "0.5"

Last update: July 23, 2021