Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14246 Update threading model for Consumer
  3. KAFKA-15555

Ensure wakeups are handled correctly in PrototypeAsyncConsumer.poll()

    XMLWordPrintableJSON

Details

    Description

      The implementation of the poll() method in PrototypeAsyncConsumer does not disable wakeups in the same manner that KafkaConsumer does. Investigate how to make the new implementation consistent with the functionality of the existing implementation.

      There was a comment in the code that I plan to remove, but I will leave it here for reference:

      // TODO: Once we implement poll(), clear wakeupTrigger in a finally block: wakeupTrigger.clearActiveTask();

      Attachments

        Issue Links

          Activity

            People

              cadonna Bruno Cadonna
              kirktrue Kirk True
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: