//
pkg.gl
Category
github.com/grafana/loki/v3
pkg
kafka
package
3.4.2
Repository:
https://github.com/grafana/loki.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
12
Dependents
8
Files
245 SLOC
#
Packages
client
partition
partitionring
testkafka
#
Functions
Encode
Encode converts a logproto.Stream into one or more Kafka records.
NewDecoder
#
Constants
ProducerBatchMaxBytes
ProducerBatchMaxBytes is the max allowed size of a batch of Kafka records.
#
Variables
ErrInconsistentSASLUsernameAndPassword
ErrInvalidProducerMaxRecordSizeBytes
ErrMissingKafkaAddress
ErrMissingKafkaTopic
#
Structs
Config
Config holds the generic config for the Kafka backend.
Decoder
Decoder is responsible for decoding Kafka record data back into logproto.Stream format.