Skip to content

Commit

Permalink
Lets clusters define their preferred (prod) replication factor
Browse files Browse the repository at this point in the history
so that we can omit replication-factor when creating topics,
as we benefit from reusing such commands or definitions across dev-qa-prod.
  • Loading branch information
solsson committed Dec 1, 2017
1 parent 1d335c9 commit 7be9797
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kafka/10broker-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ data:
# the brokers.
num.partitions=1
default.replication.factor=3
min.insync.replicas=2
# 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

0 comments on commit 7be9797

Please sign in to comment.