mirror of https://github.com/apache/kafka.git
resolve conflicts
This commit is contained in:
parent
f76013b0b3
commit
c9f930e3fe
|
@ -114,7 +114,7 @@ object VerifyConsumerRebalance extends Logging {
|
||||||
// check if the owner is a valid consumer id
|
// check if the owner is a valid consumer id
|
||||||
consumerIdsForTopic match {
|
consumerIdsForTopic match {
|
||||||
case Some(consumerIds) =>
|
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 " +
|
error(("Owner %s for partition [%s,%d] is not a valid member of consumer " +
|
||||||
"group %s").format(partitionOwner, topic, partition, group))
|
"group %s").format(partitionOwner, topic, partition, group))
|
||||||
rebalanceSucceeded = false
|
rebalanceSucceeded = false
|
||||||
|
|
Loading…
Reference in New Issue