MCPcopy
hub / github.com/segmentio/kafka-go / testConsumerGroupSimple

Function testConsumerGroupSimple

reader_test.go:662–666  ·  view source on GitHub ↗
(t *testing.T, ctx context.Context, r *Reader)

Source from the content-addressed store, hash-verified

660}
661
662func testConsumerGroupSimple(t *testing.T, ctx context.Context, r *Reader) {
663 if err := r.Close(); err != nil {
664 t.Fatalf("bad err: %v", err)
665 }
666}
667
668func TestReaderSetOffsetWhenConsumerGroupsEnabled(t *testing.T) {
669 r := &Reader{config: ReaderConfig{GroupID: "not-zero"}}

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected