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

Struct consumerGroupSession

consumer_group.go:879–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877}
878
879type consumerGroupSession struct {
880 parent *consumerGroup
881 memberID string
882 generationID int32
883 handler ConsumerGroupHandler
884
885 claims map[string][]int32
886 offsets *offsetManager
887 ctx context.Context
888 cancel context.CancelCauseFunc
889
890 waitGroup sync.WaitGroup
891 releaseOnce sync.Once
892 hbDying, hbDead chan none
893}
894
895func newConsumerGroupSession(ctx context.Context, parent *consumerGroup, claims map[string][]int32, memberID string, generationID int32, handler ConsumerGroupHandler) (*consumerGroupSession, error) {
896 // init context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected