Skip to content

Commit

Permalink
Revert "consumer-group: do not cancel sessions context during rebalance"
Browse files Browse the repository at this point in the history
  • Loading branch information
niamster authored Mar 31, 2022
1 parent 9473433 commit 0c7e068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ func (s *consumerGroupSession) heartbeatLoop() {
retries = s.parent.config.Metadata.Retry.Max
case ErrRebalanceInProgress:
retries = s.parent.config.Metadata.Retry.Max
s.cancel()
case ErrUnknownMemberId, ErrIllegalGeneration:
return
default:
Expand Down

0 comments on commit 0c7e068

Please sign in to comment.