Andrew Schofield created KAFKA-16608:
----------------------------------------

             Summary: AsyncKafkaConsumer doesn't honour 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
    Affects Versions: 3.8.0
            Reporter: Andrew Schofield


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)

Reply via email to