[ 
https://issues.apache.org/jira/browse/KAFKA-13514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469743#comment-17469743
 ] 

Luke Chen commented on KAFKA-13514:
-----------------------------------

[~ableegoldman] [~mjsax] , It looks like the assignor assigned the partition 
"topic-0" to multiple consumers: consumer1 and consumer2. There should be a 
rare case in general assignor that causes this issue. As we know that the 
general assignor was complex and slow, I think it's a good chance to fix it. 
I'll work on in in KAFKA-12676. Thank you.

> Flakey test StickyAssignorTest
> ------------------------------
>
>                 Key: KAFKA-13514
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13514
>             Project: Kafka
>          Issue Type: Test
>          Components: clients, unit tests
>            Reporter: Matthias J. Sax
>            Assignee: Luke Chen
>            Priority: Critical
>              Labels: flaky-test
>
> org.apache.kafka.clients.consumer.StickyAssignorTest.testLargeAssignmentAndGroupWithNonEqualSubscription()
> No real stack trace, but only:
> {quote}java.util.concurrent.TimeoutException: 
> testLargeAssignmentAndGroupWithNonEqualSubscription() timed out after 60 
> seconds{quote}
> STDOUT
> {quote}[2021-12-07 01:32:23,920] ERROR Found multiple consumers consumer1 and 
> consumer2 claiming the same TopicPartition topic-0 in the same generation -1, 
> this will be invalidated and removed from their previous assignment. 
> (org.apache.kafka.clients.consumer.internals.AbstractStickyAssignor:150) 
> [2021-12-07 01:32:58,964] ERROR Found multiple consumers consumer1 and 
> consumer2 claiming the same TopicPartition topic-0 in the same generation -1, 
> this will be invalidated and removed from their previous assignment. 
> (org.apache.kafka.clients.consumer.internals.AbstractStickyAssignor:150) 
> [2021-12-07 01:32:58,976] ERROR Found multiple consumers consumer1 and 
> consumer2 claiming the same TopicPartition topic-0 in the same generation -1, 
> this will be invalidated and removed from their previous assignment. 
> (org.apache.kafka.clients.consumer.internals.AbstractStickyAssignor:150){quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to