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

ISSUE-401: add OrderingKey related apis #120

Closed
sijie opened this issue Nov 30, 2020 · 0 comments
Closed

ISSUE-401: add OrderingKey related apis #120

sijie opened this issue Nov 30, 2020 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Nov 30, 2020

Original Issue: apache#401


Is your feature request related to a problem? Please describe.
According to apache/pulsar#4079, orderingKey was introduced to let user set message order manually, currently pulsar-client-go do not have related apis exposed to user. We should add orderingKey related apis to ProducerMessage and Message.

Describe the solution you'd like

  • add OrderingKey to ProducerMessage
  • add OrderingKey() to Message interface
  • sync OrderingKey to SingleMessageMetadata

Additional context
Once this issue is resolved, new test with key batch builder should add as well. ref: apache#400

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

No branches or pull requests

1 participant