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

Struct Codec

compress/lz4/lz4.go:17–17  ·  view source on GitHub ↗

Codec is the implementation of a compress.Codec which supports creating readers and writers for kafka messages compressed with lz4.

Source from the content-addressed store, hash-verified

15// Codec is the implementation of a compress.Codec which supports creating
16// readers and writers for kafka messages compressed with lz4.
17type Codec struct{}
18
19// Code implements the compress.Codec interface.
20func (c *Codec) Code() int8 { return 3 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected