You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2017/05/05 19:33:04 UTC

[jira] [Created] (KAFKA-5181) Add a new request into admin client to manually setting the committed offsets

Guozhang Wang created KAFKA-5181:
------------------------------------

             Summary: Add a new request into admin client to manually setting the committed offsets
                 Key: KAFKA-5181
                 URL: https://issues.apache.org/jira/browse/KAFKA-5181
             Project: Kafka
          Issue Type: Bug
            Reporter: Guozhang Wang


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)