a8m / a8m/kinesis-producer

Usage of ExplicitHashKey

Aberta
#17 0 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
150
Forks
47
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.