I did take a look at it @Jörg_Hoh . The only diff with my implementation is i am trying to connect to secure kafka using these props.put(CommonClientConfigs.SECURITY_PROTOCOL_CONFIG, "SASL_SSL");props.put(SaslConfigs.SASL_MECHANISM, "PLAIN");props.put(SaslConfigs.SASL_JAAS_CONFIG, "org.apache.kafka....