Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed May 13, 2024
1 parent 7471006 commit b58613a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions processes/consumer/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ func StartConsumer(ctx context.Context, cfg config.Config, inMemDB *models.Datab
kafkaMsg, err := kafkaConsumer.FetchMessage(ctx)
if err != nil {
slog.With(artie.KafkaMsgLogFields(kafkaMsg)...).Warn("Failed to read kafka message", slog.Any("err", err))
time.Sleep(500 * time.Millisecond)
continue
}

Expand Down

0 comments on commit b58613a

Please sign in to comment.