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

Implement validatePositions functionality for new KafkaConsumer

    XMLWordPrintableJSON

Details

    Description

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

      The validate 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 VALIDATE_POSITIONS events that is submitted to the background thread, and the processed by the ApplicationEventProcessor. The processing itself is done by the OffsetRequestManager given that this will require an OFFSET_FOR_LEADER_EPOCH request. This task will introduce support for such requests in the OffsetRequestManager, responsible for offset-related requests.

      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: