diff --git a/internal/queue/kafka/consumer.go b/internal/queue/kafka/consumer.go index 2cc683e..10e3dd4 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 } - c.callback(msg) + go c.callback(msg) case <-session.Context().Done(): return nil