Browse Source

resolve conflicts

0.8.2
Wan Wenli 8 years ago committed by Guozhang Wang
parent
commit
c9f930e3fe
  1. 2
      core/src/main/scala/kafka/tools/VerifyConsumerRebalance.scala

2
core/src/main/scala/kafka/tools/VerifyConsumerRebalance.scala

@ -114,7 +114,7 @@ object VerifyConsumerRebalance extends Logging { @@ -114,7 +114,7 @@ object VerifyConsumerRebalance extends Logging {
// check if the owner is a valid consumer id
consumerIdsForTopic match {
case Some(consumerIds) =>
if(!consumerIds.contains(partitionOwner)) {
if(!consumerIds.map(c => c.toString).contains(partitionOwner)) {
error(("Owner %s for partition [%s,%d] is not a valid member of consumer " +
"group %s").format(partitionOwner, topic, partition, group))
rebalanceSucceeded = false

Loading…
Cancel
Save