Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
wk989898 committed Dec 3, 2024
1 parent 2da8c87 commit bca036a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kafka-consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (c *consumer) Consume(ctx context.Context) {
select {
case <-ctx.Done():
log.Info("consumer exist: context cancelled")
break
return
default:
}
msg, err := c.client.ReadMessage(-1)
Expand Down

0 comments on commit bca036a

Please sign in to comment.