Skip to content

Commit

Permalink
Gathers the config that has to do with topic creation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
solsson committed Dec 13, 2017
1 parent de6adfd commit 166a616
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions kafka/10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 166a616

Please sign in to comment.