v.23.4New Feature
Add kafkaMurmurHash Function for Kafka DefaultPartitioner Compatibility
Add kafkaMurmurHash function for compatibility with Kafka DefaultPartitioner. Closes #47834. #48185 (Nikolay Degterinsky).Why it matters
This function enables users to compute hashes in ClickHouse that are consistent with Kafka’s DefaultPartitioner. This alignment helps when integrating ClickHouse with Kafka, ensuring partitioning behavior matches between systems and making data ingestion and processing more reliable and predictable.How to use it
Use thekafkaMurmurHash function directly in your queries to compute hashes consistent with Kafka DefaultPartitioner. For example, apply it within a SELECT statement on the key columns you want to hash.