From c3a563b4f1c84afffc9be746548a02208652265a Mon Sep 17 00:00:00 2001 From: Magomed Abdurakhmanov Date: Mon, 13 Nov 2023 16:21:03 -0800 Subject: [PATCH] ConsumerGroup.Close can infinitely lock Signed-off-by: Magomed Abdurakhmanov --- consumer_group.go | 1 - 1 file changed, 1 deletion(-) diff --git a/consumer_group.go b/consumer_group.go index 040e20d28b..552da9afba 100644 --- a/consumer_group.go +++ b/consumer_group.go @@ -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