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

Method Pause

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

Pause suspends fetching from the requested partitions. Future calls to the broker will not return any records from these partitions until they have been resumed using Resume()/ResumeAll(). Note that this method does not affect partition subscription. In particular, it does not cause a group rebalanc

(topicPartitions map[string][]int32)

Source from the content-addressed store, hash-verified

80 // Note that this method does not affect partition subscription.
81 // In particular, it does not cause a group rebalance when automatic assignment is used.
82 Pause(topicPartitions map[string][]int32)
83
84 // Resume resumes specified partitions which have been paused with Pause()/PauseAll().
85 // New calls to the broker will return records from these partitions if there are any to be fetched.

Callers 6

PauseMethod · 0.65
PauseAllMethod · 0.65
PauseMethod · 0.65
PauseAllMethod · 0.65

Implementers 2

consumerconsumer.go
Consumermocks/consumer.go

Calls

no outgoing calls