summaryrefslogtreecommitdiffstats
path: root/src/main/docker/include/etc/confluent/docker/kafka.properties.template
diff options
context:
space:
mode:
authorsu622b <su622b@att.com>2020-03-09 14:37:18 -0400
committersu622b <su622b@att.com>2020-03-09 14:37:46 -0400
commit737b823cc577412ddab206d2e3493b855d17bd12 (patch)
tree1f0a9e9b6a86bfc6b278357ce4f464c40ccc7ad7 /src/main/docker/include/etc/confluent/docker/kafka.properties.template
parent96b4eae15f6e43154d47b1fc2442f1345f405c0b (diff)
confluent based image1.0.3
Issue-ID: DMAAP-1337 Change-Id: Iebec5410769271183ec5417e98f839a355b9c85f Signed-off-by: su622b <su622b@att.com>
Diffstat (limited to 'src/main/docker/include/etc/confluent/docker/kafka.properties.template')
-rw-r--r--src/main/docker/include/etc/confluent/docker/kafka.properties.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/docker/include/etc/confluent/docker/kafka.properties.template b/src/main/docker/include/etc/confluent/docker/kafka.properties.template
new file mode 100644
index 0000000..242e393
--- /dev/null
+++ b/src/main/docker/include/etc/confluent/docker/kafka.properties.template
@@ -0,0 +1,20 @@
+{% set excluded_props = ['KAFKA_VERSION',
+ 'KAFKA_HEAP_OPTS'
+ 'KAFKA_LOG4J_OPTS',
+ 'KAFKA_OPTS',
+ 'KAFKA_JMX_OPTS',
+ 'KAFKA_JVM_PERFORMANCE_OPTS',
+ 'KAFKA_GC_LOG_OPTS',
+ 'KAFKA_LOG4J_ROOT_LOGLEVEL',
+ 'KAFKA_LOG4J_LOGGERS',
+ 'KAFKA_TOOLS_LOG4J_LOGLEVEL']
+-%}
+{% set kafka_props = env_to_props('KAFKA_', '', exclude=excluded_props) -%}
+{% for name, value in kafka_props.iteritems() -%}
+{{name}}={{value}}
+{% endfor -%}
+
+{% set confluent_support_props = env_to_props('CONFLUENT_SUPPORT_', 'confluent.support.') -%}
+{% for name, value in confluent_support_props.iteritems() -%}
+{{name}}={{value}}
+{% endfor -%}