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

Producer / Consumer with partition key #54

Open
shohamroditimemphis opened this issue Sep 7, 2023 · 0 comments
Open

Producer / Consumer with partition key #54

shohamroditimemphis opened this issue Sep 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@shohamroditimemphis
Copy link

Use the murmur3 hash to get a partition number out of a key. (as reference see the go SDK PR -superstreamlabs/memphis.go#121 )

If the user gives a partition key than write / read from the right partition, else use the Round Robin fashion.

The murmur3 lib - https://commons.apache.org/proper/commons-codec/jacoco/org.apache.commons.codec.digest/MurmurHash3.java.html

@shohamroditimemphis shohamroditimemphis added the enhancement New feature or request label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant