Skip to content

Commit

Permalink
Fix: sarama consume claim goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
asheswook committed Jul 23, 2024
1 parent edab5b7 commit 7e89e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/queue/kafka/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e89e17

Please sign in to comment.