Skip to content

Commit 7be9797

Browse files
committed
Lets clusters define their preferred (prod) replication factor
so that we can omit replication-factor when creating topics, as we benefit from reusing such commands or definitions across dev-qa-prod.
1 parent 1d335c9 commit 7be9797

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kafka/10broker-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ data:
107107
# the brokers.
108108
num.partitions=1
109109
110+
default.replication.factor=3
111+
min.insync.replicas=2
112+
110113
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
111114
# This value is recommended to be increased for installations with data dirs located in RAID array.
112115
num.recovery.threads.per.data.dir=1

0 commit comments

Comments
 (0)