Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16608

AsyncKafkaConsumer doesn't honor interrupted thread status on KafkaConsumer.poll(Duration)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.8.0
    • 3.8.0
    • clients, consumer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              schofielaj Andrew Schofield
              schofielaj Andrew Schofield
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: