Hi,
I have kafka avro producer with schema registry
Brokers authentication is SASL_SSL using keytab Kerb5LoginModule.
I am able to connect both brokers and schema registry using Oracle Java and produce messages,
But when i try with IBM Java(8 version) , getting 401 un authorized error(to schema registry)
any idea or solution?
java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidConfigurationException: Unauthorized; error code: 401
at org.apache.kafka.clients.producer.KafkaProducer$FutureFailure.<init>(KafkaProducer.java:1317)
at org.apache.kafka.clients.producer.KafkaProducer.doSend(KafkaProducer.java:986)
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:886)
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:774)
at com.cdw.stage.kafka.producer.AvroProducerSASL_SSL.main(AvroProducerSASL_SSL.java:51)
Caused by: org.apache.kafka.common.errors.InvalidConfigurationException: Unauthorized; error code: 401