From 166a616330f3475820fc8fb42d6e0c9f71a4d302 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 13 Dec 2017 22:26:52 +0100 Subject: [PATCH] Gathers the config that has to do with topic creation in one place. These values are critical to maintain for those, like us, who make use of auto create topics for production data. Also a step towards #72 and #77. --- kafka/10broker-config.yml | 3 +++ kafka/50kafka.yml | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kafka/10broker-config.yml b/kafka/10broker-config.yml index 995bc037..77400bf8 100644 --- a/kafka/10broker-config.yml +++ b/kafka/10broker-config.yml @@ -108,8 +108,11 @@ data: num.partitions=1 default.replication.factor=3 + min.insync.replicas=2 + auto.create.topics.enable=true + # The number of threads per data directory to be used for log recovery at startup and flushing at shutdown. # This value is recommended to be increased for installations with data dirs located in RAID array. num.recovery.threads.per.data.dir=1 diff --git a/kafka/50kafka.yml b/kafka/50kafka.yml index 5b51a91e..8486f9c1 100644 --- a/kafka/50kafka.yml +++ b/kafka/50kafka.yml @@ -63,8 +63,6 @@ spec: - log.retention.hours=-1 - --override - log.dirs=/var/lib/kafka/data/topics - - --override - - auto.create.topics.enable=true resources: requests: cpu: 100m