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)
| 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. |
no outgoing calls