Hi Debraj, The error looks indeed strange. We recommend to not set any `ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG` or `ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG` because the connector will take care of it. Can you try to remove these call and check if it makes a difference?
Only looking at the error message it feels like different versions of the Kafka dependency are on the class path. Best, Fabian