You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Hao Li (Jira)" <ji...@apache.org> on 2023/05/09 23:20:00 UTC

[jira] [Created] (KAFKA-14981) Set `group.instance.id` in streams consumer so that rebalance will not happen if a instance is restarted

Hao Li created KAFKA-14981:
------------------------------

             Summary: Set `group.instance.id` in streams consumer so that rebalance will not happen if a instance is restarted
                 Key: KAFKA-14981
                 URL: https://issues.apache.org/jira/browse/KAFKA-14981
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Hao Li


`group.instance.id` enables static membership so that if a consumer is restarted within `session.timeout.ms`, rebalance will not be triggered and originally assignment can be returned directly from broker. We can set this id in Kafka streams using `threadId` so that no rebalance is trigger within `session.timeout.ms`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)