dajac commented on a change in pull request #11688: URL: https://github.com/apache/kafka/pull/11688#discussion_r802515290
########## File path: core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala ########## @@ -1791,4 +1793,33 @@ class PlaintextConsumerTest extends BaseConsumerTest { assertTrue(records2.count() == 1 && records2.records(tp).asScala.head.offset == 1, "Expected consumer2 to consume one message from offset 1, which is the committed offset of consumer1") } + @Test + def testStaticConsumerDetectsNewPartitionCreatedAfterRestart(): Unit = { Review comment: Well.. We can't really restart a consumer, right? The only way is to recreate the consumer. What I meant here is that the static member is restarted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org