author | Vincent Bernat <vincent@bernat.im> | |
Wed, 15 Jun 2016 07:53:07 +0000 (09:53 +0200) | ||
committer | Vincent Bernat <vincent@bernat.im> | |
Wed, 15 Jun 2016 07:54:09 +0000 (09:54 +0200) | ||
commit | ea9db2c32ef7f8a3135dc1413fbf8ee46a25f680 | |
tree | 506766fdd2351e874fa2964ec190f811724c4abd | tree | snapshot |
parent | 7b64cc91d3307179557b25b6ece2349a088f4294 | commit | diff |
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.
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 | diff | blob | history |