github.com/segmentio/kafka-go@v0.4.48-0.20240318174348-3f6244eb34fd/lz4/lz4.go (about)

     1  // Package lz4 does nothing, it's kept for backward compatibility to avoid
     2  // breaking the majority of programs that imported it to install the compression
     3  // codec, which is now always included.
     4  package lz4
     5  
     6  import "github.com/segmentio/kafka-go/compress/lz4"
     7  
     8  const (
     9  	Code = 3
    10  )
    11  
    12  type CompressionCodec = lz4.Codec
    13  
    14  func NewCompressionCodec() *CompressionCodec {
    15  	return &CompressionCodec{}
    16  }