Skip to content

Commit

Permalink
docs: add & to the kafka producer config on dead-letter example
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdulsametileri committed Oct 6, 2023
1 parent 34f0558 commit 83a5ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-deadletter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
)

func main() {
producer, _ := kafka.NewProducer(kafka.ProducerConfig{
producer, _ := kafka.NewProducer(&kafka.ProducerConfig{
Writer: kafka.WriterConfig{
Brokers: []string{"localhost:29092"},
},
Expand Down

0 comments on commit 83a5ff7

Please sign in to comment.