Skip to content

Commit c3a563b

Browse files
committed
ConsumerGroup.Close can infinitely lock
Signed-off-by: Magomed Abdurakhmanov <[email protected]>
1 parent 228da92 commit c3a563b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

consumer_group.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ func (c *consumerGroup) Consume(ctx context.Context, topics []string, handler Co
217217
select {
218218
case <-c.closed:
219219
case <-sess.ctx.Done():
220-
default:
221220
}
222221

223222
// Gracefully release session claims

0 commit comments

Comments
 (0)