diff --git a/templates/kafka.env.j2 b/templates/kafka.env.j2 index acf899b..1e6102a 100644 --- a/templates/kafka.env.j2 +++ b/templates/kafka.env.j2 @@ -1,6 +1,9 @@ {% for environment_variable in (kafka_environment_variables | dict2items) %} {{ environment_variable.key }}="{{ environment_variable.value }}" {% endfor %} +{% if kafka_heap_opts is defined %} +KAFKA_HEAP_OPTS="{{ kafka_heap_opts }}" +{% endif %} LOG_DIR="{{ kafka_log_dir }}" {% if kafka_jmx_enabled %} {% if kafka_jmx_username is defined and kafka_jmx_password is defined %}