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

Add a new request into admin client to manually setting the committed offsets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      In the old consumer, where offsets are stored in ZK, a common operation is to manually set the committed offsets for consumers by writing directly to ZK.

      In the new consumer we remove the ZK dependency because it is risky to let any client to talk to directly ZK, which is a multi-tenant service. However this common operation "shortcut" is lost because of that change.

      We should add this functionality back to Kafka, and now with the admin client we could add it there. The client only needs to find the corresponding group coordinator and send the offset commit request to it. The handling logic on the broker side should not change.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guozhang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: