From 7e89e17e0360d256d3b7509f7aa0ba2268e27d3c Mon Sep 17 00:00:00 2001 From: Jaewook Lee Date: Tue, 23 Jul 2024 14:49:43 +0900 Subject: [PATCH] Fix: sarama consume claim goroutine --- internal/queue/kafka/consumer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/queue/kafka/consumer.go b/internal/queue/kafka/consumer.go index 10e3dd4..2cc683e 100644 --- a/internal/queue/kafka/consumer.go +++ b/internal/queue/kafka/consumer.go @@ -25,7 +25,7 @@ func (c *Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim saram return nil } - go c.callback(msg) + c.callback(msg) case <-session.Context().Done(): return nil