[ https://issues.apache.org/jira/browse/KAFKA-17163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867334#comment-17867334 ]
Lianet Magrans commented on KAFKA-17163: ---------------------------------------- Sure, thanks for helping out! Happy to help with the review. > Revisit testSubscriptionOnInvalidTopic and testPollAuthenticationFailure for > AsyncKafkaConsumer > ----------------------------------------------------------------------------------------------- > > Key: KAFKA-17163 > URL: https://issues.apache.org/jira/browse/KAFKA-17163 > Project: Kafka > Issue Type: Sub-task > Components: consumer > Reporter: Lianet Magrans > Assignee: TaiJuWu > Priority: Major > Labels: consumer-threading-refactor > > testSubscriptionOnInvalidTopic expects the consumer throws > InvalidTopicException on poll(ZERO), which fails for the new AsyncConsumer > (same for testPollAuthenticationFailure). We should investigate if this needs > the same fix applied to other tests, to do continuous poll(ZERO) to allow for > the background thread to run after a fetch event has been added in the app > thread, so that related errors can be propagated in poll. See linked Jira > with similar fix. -- This message was sent by Atlassian Jira (v8.20.10#820010)