package
1.1.0
Repository: https://github.com/kubeless/kafka-trigger.git
Documentation: pkg.go.dev

# Functions

CreateKafkaConsumer creates a goroutine that subscribes to Kafka topic.
DeleteKafkaConsumer deletes goroutine created by CreateKafkaConsumer.
GetSASLConfiguration build SASL configuration for kafka.
GetTLSConfiguration build TLS configuration for kafka, return tlsConfig associated with kafka connection.
NewConsumer returns new consumer.

# Variables

ErrorCrtFileMandatory when private key is provided but certificate not.
ErrorKeyFileMandatory when certificate is provided but private not.
ErrorUsernameOrPasswordMandatory when username or password is not provided.

# Structs

Consumer represents a Sarama consumer group consumer.