a8m / a8m/kinesis-producer

Usage of ExplicitHashKey

未关闭
#17 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
150
派生
47
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。