Browse Source

Merge pull request #165 from Shopify/tweak-vagrant

Add default replication to vagrant setup
Evan Huus 11 years ago
parent
commit
5dd8618617
1 changed files with 4 additions and 0 deletions
  1. 4 0
      vagrant/server.properties

+ 4 - 0
vagrant/server.properties

@@ -62,6 +62,10 @@ log.dirs=KAFKA_DATADIR
 # the brokers.
 # the brokers.
 num.partitions=2
 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 #############################
 ############################# Log Flush Policy #############################
 
 
 # Messages are immediately written to the filesystem but by default we only fsync() to sync
 # Messages are immediately written to the filesystem but by default we only fsync() to sync