Skip to content

Commit

Permalink
Set default number of topic partitions to 1 to reduce the load
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed May 4, 2017
1 parent bfc8c79 commit 83dfc74
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ class KafkaTestUtils(withBrokerProps: Map[String, Object] = Map.empty) extends L
props.put("log.flush.interval.messages", "1")
props.put("replica.socket.timeout.ms", "1500")
props.put("delete.topic.enable", "true")
props.put("offsets.topic.num.partitions", "1")
props.putAll(withBrokerProps.asJava)
props
}
Expand Down

0 comments on commit 83dfc74

Please sign in to comment.