1 {% set excluded_props = ['KAFKA_VERSION',
6 'KAFKA_JVM_PERFORMANCE_OPTS',
8 'KAFKA_LOG4J_ROOT_LOGLEVEL',
10 'KAFKA_TOOLS_LOG4J_LOGLEVEL',
11 'KAFKA_ZOOKEEPER_CLIENT_CNXN_SOCKET']
14 {# properties that don't fit the standard format #}
15 {% set other_props = {
16 'KAFKA_ZOOKEEPER_CLIENT_CNXN_SOCKET' : 'zookeeper.clientCnxnSocket'
19 {% set kafka_props = env_to_props('KAFKA_', '', exclude=excluded_props) -%}
20 {% for name, value in kafka_props.items() -%}
24 {% for k, property in other_props.items() -%}
25 {% if env.get(k) != None -%}
26 {{property}}={{env[k]}}
30 {% set confluent_support_props = env_to_props('CONFLUENT_SUPPORT_', 'confluent.support.') -%}
31 {% for name, value in confluent_support_props.items() -%}