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

Function testConsumerGroupImmediateClose

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

Source from the content-addressed store, hash-verified

654}
655
656func testConsumerGroupImmediateClose(t *testing.T, ctx context.Context, r *Reader) {
657 if err := r.Close(); err != nil {
658 t.Fatalf("bad err: %v", err)
659 }
660}
661
662func testConsumerGroupSimple(t *testing.T, ctx context.Context, r *Reader) {
663 if err := r.Close(); err != nil {

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected