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

Introduce OffsetsRequestManager to integrate ListOffsets requests into new consumer threading refactor

    XMLWordPrintableJSON

Details

    Description

      This task introduces new functionality for handling ListOffsets requests for the new consumer implementation, as part for the ongoing work for the consumer threading model refactor.

      This task introduces a new class named {{OffsetsRequestManager, }}responsible of :

      • building ListOffsets requests
      • process its responses

      Consumer API functionality that requires ListOffsets requests are implemented using this manager: beginningOffsets, endOffsets and offsetsForTimes.

      These consumer API functions will generate a ListOffsetsApplicationEvent with parameters. This event is then handled by the OffsetsRequestManager, who will build the ListOffsets request and process its responses, to provide a result back to the API via the ListOffsetsApplicationEvent completion.  

      Attachments

        Issue Links

          Activity

            People

              lianetm Lianet Magrans
              lianetm Lianet Magrans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: