[ https://issues.apache.org/jira/browse/KAFKA-14981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722003#comment-17722003 ]
Matthias J. Sax commented on KAFKA-14981: ----------------------------------------- I was not aware that there was (or maybe still are) issue. Are there any tickets for it? > 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 > Priority: Minor > > `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)