Skip to content

Commit 7e89e17

Browse files
committed
Fix: sarama consume claim goroutine
1 parent edab5b7 commit 7e89e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/queue/kafka/consumer.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func (c *Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim saram
2525
return nil
2626
}
2727

28-
go c.callback(msg)
28+
c.callback(msg)
2929

3030
case <-session.Context().Done():
3131
return nil

0 commit comments

Comments
 (0)