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

Struct hashPartitioner

partitioner.go:135–140  ·  partitioner.go::hashPartitioner

Source from the content-addressed store, hash-verified

133}
134
135type hashPartitioner struct {
136 random Partitioner
137 hasher hash.Hash32
138 referenceAbs bool
139 hashUnsigned bool
140}
141
142// NewCustomHashPartitioner is a wrapper around NewHashPartitioner, allowing the use of custom hasher.
143// The argument is a function providing the instance, implementing the hash.Hash32 interface. This is to ensure that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected