Browse Source

Merge pull request #165 from Shopify/tweak-vagrant

Add default replication to vagrant setup
Evan Huus 11 năm trước cách đây
mục cha
commit
5dd8618617
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      vagrant/server.properties

+ 4 - 0
vagrant/server.properties

@@ -62,6 +62,10 @@ log.dirs=KAFKA_DATADIR
 # the brokers.
 num.partitions=2
 
+# Create new topics with a replication factor of 2 so failover can be tested
+# more easily.
+default.replication.factor=2
+
 ############################# Log Flush Policy #############################
 
 # Messages are immediately written to the filesystem but by default we only fsync() to sync