lianetm commented on code in PR #15869: URL: https://github.com/apache/kafka/pull/15869#discussion_r1622568609
########## clients/src/test/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumerTest.java: ########## @@ -463,6 +466,44 @@ public void onPartitionsAssigned(final Collection<TopicPartition> partitions) { assertTrue(callbackExecuted.get()); } + @Test + public void testCheckForNewTopicOnlyWhenMetadataChange() { Review Comment: maybe clearer to rename this so it shows that it's about subscription regex eval and poll? what about `testSubscriptionRegexEvalOnPollOnlyIfMetadataChanges`? -- 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