Skip to content

Commit 166a616

Browse files
committed
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.
1 parent de6adfd commit 166a616

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

kafka/10broker-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,11 @@ data:
108108
num.partitions=1
109109
110110
default.replication.factor=3
111+
111112
min.insync.replicas=2
112113
114+
auto.create.topics.enable=true
115+
113116
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
114117
# This value is recommended to be increased for installations with data dirs located in RAID array.
115118
num.recovery.threads.per.data.dir=1

kafka/50kafka.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ spec:
6363
- log.retention.hours=-1
6464
- --override
6565
- log.dirs=/var/lib/kafka/data/topics
66-
- --override
67-
- auto.create.topics.enable=true
6866
resources:
6967
requests:
7068
cpu: 100m

0 commit comments

Comments
 (0)