Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gopherhiro opened this issue Mar 30, 2024 · 1 comment
Labels

Comments

@gopherhiro
Copy link

No description provided.

@gopherhiro gopherhiro added the bug label Mar 30, 2024
@isaacd9
Copy link

isaacd9 commented Apr 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants