murmur2-partitioner
This JS-script calculates the partition based on a key and the amount of partitions for a JS Kafka producer in way consistent to the default Java Kafka client
murmur2
Zero dependency murmur2 buffer hash algorithm implementation in JavaScript