While producing message in kafka, i am getting the following error :
$ bin/kafka-console-producer.sh --broker-list localhost:9092 --topic nil_PF1_P1 hi hello
adding such a line after the topic helped with the same issue: ... --topic XXX --property "parse.key = true" --property "key.separator =:"
Hope this helps someone.