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

Usage of ExplicitHashKey #17

Open
konstantinj opened this issue Aug 2, 2019 · 0 comments
Open

Usage of ExplicitHashKey #17

konstantinj opened this issue Aug 2, 2019 · 0 comments

Comments

@konstantinj
Copy link

Hi there,

I've tried to add a 3rd parameter to Put to make use of the ExplicitHashKey. Since I wanted a quick solution I left the normal PartitionKey untouched and called it with "0" My assumption was, that the ExplicitHashKey will be used if present. Unfortunately it doesn't seem to work since all messages go to the same shard eventhough I'm using the "StartingHashKey" of each of my shards.

I've forked it here: https://github.com/konstantinj/kinesis-producer

Maybe you have an idea why it doesn't work.

I want to use round robin for my partition keys because it never really distributes well using my actual data as keys.

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

No branches or pull requests

1 participant