dmachard/DNS-collector

kafka producer: invalid text format

Closed this issue · 0 comments

Describe the bug

func (k *KafkaProducer) ReadConfig() {
if len(k.config.Loggers.RedisPub.TextFormat) > 0 {
k.textFormat = strings.Fields(k.config.Loggers.RedisPub.TextFormat)