Skip to content

Commit

Permalink
fix: don't waste time for backoff on member id required error (#2759)
Browse files Browse the repository at this point in the history
Signed-off-by: Lev Zakharov <[email protected]>
  • Loading branch information
lzakharov authored Jan 1, 2024
1 parent 4d31d23 commit d9abf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ func (c *consumerGroup) newSession(ctx context.Context, topics []string, handler
// response and send another join request with that id to actually join the
// group
c.memberID = join.MemberId
return c.retryNewSession(ctx, topics, handler, retries+1 /*keep retry time*/, false)
return c.newSession(ctx, topics, handler, retries)
case ErrFencedInstancedId:
if c.groupInstanceId != nil {
Logger.Printf("JoinGroup failed: group instance id %s has been fenced\n", *c.groupInstanceId)
Expand Down

0 comments on commit d9abf3c

Please sign in to comment.