View definition

(Partitioner).RequiresConsistency

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

Description

RequiresConsistency indicates to the user of the partitioner whether the mapping of key->partition is consistent or not. Specifically, if a partitioner requires consistency then it must be allowed to choose from all partitions (even ones known to be unavailable), and its choice must be respected by the caller. The obvious example is the HashPartitioner.

RequiresConsistency is referenced in 1 repository

github.com/Shopify/sarama