Configuring KafkaConnect against OAuth protected Kafka Broker #9564
-
Hi, I've followed Strimzi OAuth documentation steps just to get familiarized with the configuration. Based on that steps, I managed to configured streamer application to access OAuth protected broker. Similar to the strimzi steps, I'm using KeyCloak as the IDP/Token provider. Here is the
The KafkaConnect config yaml file is as follows :
When I deployed this Kafka Connect, it failed to connect to broker 9093. The following logs show the messages from kafka connect log :
Further checking on Kafka broker log, it shows that the authentication failed due to SSL Handshake.
So far I'm suspecting that it failed the authentication because it is missing the required certificates. That's is what I'm trying to do in the kafka connect config yaml (specifying the truststore location/password as env variable). But so far it has not work yet. Is there other configuration that I should set instead? By the way, the
Any suggestions are greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The YAMLs you share are not valid Strimzi custom resources. Maybe some kind of your private template? You should share the full Strimzi custom resources so that it is clear how you actually configured Strimzi.. |
Beta Was this translation helpful? Give feedback.
Thank you for the feedback @scholzj . I managed to make it work by adding the following:
It is now able to connect to broker port 9093.