Partition takes a message and partition count and chooses a partition
(message *ProducerMessage, numPartitions int32)
| 14 | type Partitioner interface { |
| 15 | // Partition takes a message and partition count and chooses a partition |
| 16 | Partition(message *ProducerMessage, numPartitions int32) (int32, error) |
| 17 | |
| 18 | // RequiresConsistency indicates to the user of the partitioner whether the |
| 19 | // mapping of key->partition is consistent or not. Specifically, if a |
no outgoing calls