Skip to content

Commit

Permalink
Does the Produce() call return the 'message too large' error or does …
Browse files Browse the repository at this point in the history
…it come from the delivery channel?
  • Loading branch information
dehort committed Apr 12, 2024
1 parent d474f92 commit 67eb572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/common/kafka/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func Produce(producer *kafka.Producer, topic string, value interface{}, key stri

err = producer.Produce(msg, deliveryChan)
if err != nil {
fmt.Printf("Produce failed: %v\n", err)
return err
}

Expand Down

0 comments on commit 67eb572

Please sign in to comment.