Skip to content

Commit

Permalink
Set KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS to 0 in KafkaContainer to …
Browse files Browse the repository at this point in the history
…speed up the tests (#782)
  • Loading branch information
bsideup committed Jul 25, 2018
1 parent f684292 commit 6e7c8a6
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -40,6 +40,7 @@ public KafkaContainer(String confluentPlatformVersion) {
withEnv("KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR", "1");
withEnv("KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS", "1");
withEnv("KAFKA_LOG_FLUSH_INTERVAL_MESSAGES", Long.MAX_VALUE + "");
withEnv("KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS", "0");
}

public KafkaContainer withEmbeddedZookeeper() {
Expand Down

0 comments on commit 6e7c8a6

Please sign in to comment.