Skip to content

Commit

Permalink
Add async option in kafka writer
Browse files Browse the repository at this point in the history
  • Loading branch information
emplam27 committed Feb 12, 2025
1 parent dafd831 commit 3cc74e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/backend/messagebroker/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func newKafkaBroker(addresses []string, topic string) *KafkaBroker {
Addr: kafka.TCP(addresses...),
Topic: topic,
Balancer: &kafka.LeastBytes{},
Async: true,
},
}
}
Expand Down

0 comments on commit 3cc74e2

Please sign in to comment.