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

Method ManagePartition

offset_manager.go:16–16  ·  view source on GitHub ↗

ManagePartition creates a PartitionOffsetManager on the given topic/partition. It will return an error if this OffsetManager is already managing the given topic/partition.

(topic string, partition int32)

Source from the content-addressed store, hash-verified

14 // It will return an error if this OffsetManager is already managing the given
15 // topic/partition.
16 ManagePartition(topic string, partition int32) (PartitionOffsetManager, error)
17
18 // Close stops the OffsetManager from managing offsets. It is required to call
19 // this function before an OffsetManager object passes out of scope, as it

Implementers 1

offsetManageroffset_manager.go

Calls

no outgoing calls