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

Method ConsumePartition

consumer.go:68–68  ·  view source on GitHub ↗

ConsumePartition creates a PartitionConsumer on the given topic/partition with the given offset. It will return an error if this Consumer is already consuming on the given topic/partition. Offset can be a literal offset, or OffsetNewest or OffsetOldest

(topic string, partition int32, offset int64)

Source from the content-addressed store, hash-verified

66 // on the given topic/partition. Offset can be a literal offset, or OffsetNewest
67 // or OffsetOldest
68 ConsumePartition(topic string, partition int32, offset int64) (PartitionConsumer, error)
69
70 // HighWaterMarks returns the current high water marks for each topic and partition.
71 // Consistency between partitions is not guaranteed since high water marks are updated separately.

Implementers 2

consumerconsumer.go
Consumermocks/consumer.go

Calls

no outgoing calls