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

Struct causeHandler

consumer_group_test.go:356–358  ·  view source on GitHub ↗

causeHandler is a ConsumerGroupHandler that captures the context.Cause when the session context is canceled.

Source from the content-addressed store, hash-verified

354// causeHandler is a ConsumerGroupHandler that captures the context.Cause when
355// the session context is canceled.
356type causeHandler struct {
357 causeCh chan error
358}
359
360func (h *causeHandler) Setup(_ ConsumerGroupSession) error { return nil }
361func (h *causeHandler) Cleanup(_ ConsumerGroupSession) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected