MCPcopy
hub / github.com/IBM/sarama / MessageRequiresConsistency

Method MessageRequiresConsistency

partitioner.go:38–38  ·  view source on GitHub ↗

MessageRequiresConsistency is similar to Partitioner.RequiresConsistency, but takes in the message being partitioned so that the partitioner can make a per-message determination.

(message *ProducerMessage)

Source from the content-addressed store, hash-verified

36 // but takes in the message being partitioned so that the partitioner can
37 // make a per-message determination.
38 MessageRequiresConsistency(message *ProducerMessage) bool
39}
40
41// PartitionerConstructor is the type for a function capable of constructing new Partitioners.

Callers 3

partitionMessageMethod · 0.65

Implementers 2

hashPartitionerpartitioner.go
murmur2Partitionerpartitioner.go

Calls

no outgoing calls

Tested by 2