
I am trying to send String message using Kafka, its throwing Exception with Key of the message being null. But as far as I know the key is automatically assigned by Kafka. I am getting this error in my console. 2021-02-23 14:34:10.420 ERROR 36996 — [ad | producer-1] o.s.k.support.LoggingProducerListener : Exception thrown when sending a ..