kafka-go icon indicating copy to clipboard operation
kafka-go copied to clipboard

How do I specify partition when producing messages,I want to implement ordered messages

Open gopherhiro opened this issue 11 months ago • 1 comments

gopherhiro avatar Mar 30 '24 11:03 gopherhiro

You can use the lower level Connection APIs to do this: https://pkg.go.dev/github.com/segmentio/kafka-go#Conn.WriteMessages.

There's no real need to use the Writer API if you're going to handle all the production and consumption yourself.

isaacd9 avatar Apr 22 '24 20:04 isaacd9