Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KafkaBrokersEnv is the kafka brokers environment variable name KafkaBrokersEnv = "KAFKA_BROKERS" // KafkaTopicEnv is the kafka topic environment variable name KafkaTopicEnv = "KAFKA_TOPIC" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SaramaZapLogger ¶
type SaramaZapLogger struct{}
SaramaZapLogger is a zap logger for sarama
func (SaramaZapLogger) Print ¶
func (sz SaramaZapLogger) Print(v ...interface{})
Print will Print a log message to zap info
func (SaramaZapLogger) Printf ¶
func (sz SaramaZapLogger) Printf(format string, v ...interface{})
Printf will Printf a log message to zap info
func (SaramaZapLogger) Println ¶
func (sz SaramaZapLogger) Println(v ...interface{})
Println will Println a log message to zap info
Click to show internal directories.
Click to hide internal directories.