Skip to content

Commit

Permalink
[hotfix] [kafka] Fix RackAwareMode instantiation in Kafka 0.10 tests
Browse files Browse the repository at this point in the history
This closes #2654
  • Loading branch information
tzulitai committed Oct 26, 2016
1 parent 11fa089 commit 307eae6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -288,7 +288,7 @@ public void createTestTopic(String topic, int numberOfPartitions, int replicatio

ZkUtils zkUtils = getZkUtils();
try {
AdminUtils.createTopic(zkUtils, topic, numberOfPartitions, replicationFactor, topicConfig, new kafka.admin.RackAwareMode.Enforced$());
AdminUtils.createTopic(zkUtils, topic, numberOfPartitions, replicationFactor, topicConfig, kafka.admin.RackAwareMode.Enforced$.MODULE$);
} finally {
zkUtils.close();
}
Expand Down

0 comments on commit 307eae6

Please sign in to comment.