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

Method Partitions

consumer.go:155–157  ·  view source on GitHub ↗
(topic string)

Source from the content-addressed store, hash-verified

153}
154
155func (c *consumer) Partitions(topic string) ([]int32, error) {
156 return c.client.Partitions(topic)
157}
158
159func (c *consumer) ConsumePartition(topic string, partition int32, offset int64) (PartitionConsumer, error) {
160 child := &partitionConsumer{

Callers

nothing calls this directly

Calls 1

PartitionsMethod · 0.65

Tested by

no test coverage detected