You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2024/04/24 00:07:00 UTC

[jira] [Updated] (KAFKA-16608) AsyncKafkaConsumer doesn't honor interrupted thread status on KafkaConsumer.poll(Duration)

     [ https://issues.apache.org/jira/browse/KAFKA-16608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk True updated KAFKA-16608:
------------------------------
    Summary: AsyncKafkaConsumer doesn't honor interrupted thread status on KafkaConsumer.poll(Duration)  (was: AsyncKafkaConsumer doesn't honour interrupted thread status on KafkaConsumer.poll(Duration))

> 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
>
> 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)