View definition

(Config).Partitioner

Defined in github.com/Shopify/sarama/config.go

Description

Generates partitioners for choosing the partition to send messages to (defaults to hashing the message key). Similar to the `partitioner.class` setting for the JVM producer.

Partitioner is referenced in 3 repositories

github.com/Shopify/sarama github.com/chenziliang/descartes

...