Skip to content

Commit

Permalink
ConsumerGroup.Close can infinitely lock
Browse files Browse the repository at this point in the history
    Signed-off-by: Magomed Abdurakhmanov <maqdev@gmail.com>
  • Loading branch information
maqdev committed Nov 14, 2023
1 parent 228da92 commit c3a563b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ func (c *consumerGroup) Consume(ctx context.Context, topics []string, handler Co
select {
case <-c.closed:
case <-sess.ctx.Done():
default:
}

// Gracefully release session claims
Expand Down

0 comments on commit c3a563b

Please sign in to comment.