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

Review consumer positions update

    XMLWordPrintableJSON

Details

    Description

      From the existing comment: If there are any partitions which do not have a valid position and are not awaiting reset, then we need to fetch committed offsets.

      In the async consumer: I wonder if it would make sense to refresh the position on the event loop continuously.

      The logic to refresh offsets in the poll loop is quite fragile and works largely by side-effects of the code that it calls. For example, the behaviour of the "cached" value is really not that straightforward and simply reading the cached value is not sufficient to start consuming data in all cases.

      This area needs a bit of a refactor.

      Attachments

        Issue Links

          Activity

            People

              pnee Philip Nee
              pnee Philip Nee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: