You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TaiJuWu (Jira)" <ji...@apache.org> on 2024/07/19 22:31:00 UTC
[jira] [Comment Edited] (KAFKA-17163) Revisit testSubscriptionOnInvalidTopic and testPollAuthenticationFailure for AsyncKafkaConsumer
[ https://issues.apache.org/jira/browse/KAFKA-17163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867142#comment-17867142 ]
TaiJuWu edited comment on KAFKA-17163 at 7/19/24 10:30 PM:
-----------------------------------------------------------
Hi [~lianetm] ,
Could I pick it up?
was (Author: JIRAUSER301374):
Hi[~lianetm] ,
Could I pick it up?
> 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: clients, 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)