[
https://issues.apache.org/jira/browse/KAFKA-16608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-16608.
------------------------------------
Fix Version/s: 3.8.0
Resolution: Fixed
> AsyncKafkaConsumer doesn't honor interrupted thread status on
> KafkaConsumer.poll(Duration)
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-16608
> URL: https://issues.apache.org/jira/browse/KAFKA-16608
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer
> Affects Versions: 3.8.0
> Reporter: Andrew Schofield
> Assignee: Andrew Schofield
> Priority: Minor
> Fix For: 3.8.0
>
>
> The behaviour for KafkaConsumer.poll(Duration) when the calling thread is in
> interrupted state is to throw InterruptException. The AsyncKafkaConsumer
> doesn't do this. It only throws that exception if the interruption occurs
> while it is waiting.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)