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

Implement resetPositions functionality in OffsetsRequestManager

    XMLWordPrintableJSON

Details

    Description

      Introduce support for resetting positions in the new OffsetsRequestManager. This task will include a new event for the resetPositions calls performed from the new consumer, and the logic for handling such events in the OffsetRequestManager.

      The reset positions implementation will keep the same behaviour as the one in the old consumer, but adapted to the new threading model. So it is based in a RESET_POSITIONS events that is submitted to the background thread, and then processed by the ApplicationEventProcessor. The processing itself is done by the OffsetRequestManager given that this will require a LIST_OFFSETS request for the partitions awaiting reset.

      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: