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

Struct drainHandler

consumer_group_test.go:344–344  ·  view source on GitHub ↗

drainHandler is a ConsumerGroupHandler that drains messages without blocking.

Source from the content-addressed store, hash-verified

342
343// drainHandler is a ConsumerGroupHandler that drains messages without blocking.
344type drainHandler struct{}
345
346func (*drainHandler) Setup(_ ConsumerGroupSession) error { return nil }
347func (*drainHandler) Cleanup(_ ConsumerGroupSession) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected