kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4881) Add internal leave.group.on.close config to consumer
Date Mon, 27 Mar 2017 17:31:41 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943689#comment-15943689

ASF GitHub Bot commented on KAFKA-4881:

Github user asfgit closed the pull request at:


> Add internal leave.group.on.close config to consumer 
> -----------------------------------------------------
>                 Key: KAFKA-4881
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4881
>             Project: Kafka
>          Issue Type: New Feature
>          Components: clients
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For:
> In streams we need to reduce the number of rebalances as they cause expensive shuffling
of state during {{onPartitionsAssigned}} and {{onPartitionsRevoked}}. To achieve this we can
choose to not send leave the group when a streams consumer is closed. This means that during
bounces (with appropriate session timeout settings) we will see at most one rebalance per
instance bounce.
> As this is an optimization that is only relevant to streams at the moment, initially
we will do this by adding an internal config to the consumer {{leave.group.on.close}}, this
will default to true. When it is set to false {{AbstractCoordinator}} won't send the {{LeaveGroupRequest}}

This message was sent by Atlassian JIRA

View raw message