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 apache#2654
  • Loading branch information
tzulitai authored and yuzhongliu committed Dec 5, 2016
1 parent 88dc7db commit ac0dd2f
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 ac0dd2f

Please sign in to comment.