Skip to content

Commit

Permalink
Merge pull request #2201 from niamster/revert-2193-fix-heartbeat-on-r…
Browse files Browse the repository at this point in the history
…ebalance

Revert "consumer-group: do not cancel sessions context during rebalance"
  • Loading branch information
dnwe committed Apr 11, 2022
2 parents 9473433 + 0c7e068 commit c9cefb2
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 c9cefb2

Please sign in to comment.