Code

write_kafka: ensure key is properly hashed to select partition
authorVincent Bernat <vincent@bernat.im>
Wed, 15 Jun 2016 07:53:07 +0000 (09:53 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 15 Jun 2016 07:54:09 +0000 (09:54 +0200)
commitea9db2c32ef7f8a3135dc1413fbf8ee46a25f680
tree506766fdd2351e874fa2964ec190f811724c4abd
parent7b64cc91d3307179557b25b6ece2349a088f4294
write_kafka: ensure key is properly hashed to select partition

Otherwise, partition is selected solely on the first letter of the
key. If all your hosts are starting with the same letter, everything
ends up in a single partition.
src/write_kafka.c