This is the default partitioner.
Uses consistent hashing to map identical keys onto identical partitions, and
messages without keys will be assigned via the random partitioner.
@returns a \"random\" partition between 0 and \p partition_cnt - 1 based on
the CRC value of the key (if provided)
@brief Consistent-Random partitioner.
This is the default partitioner. Uses consistent hashing to map identical keys onto identical partitions, and messages without keys will be assigned via the random partitioner.
@returns a \"random\" partition between 0 and \p partition_cnt - 1 based on the CRC value of the key (if provided)