-
Feature
-
Resolution: Done
-
Critical
-
None
-
False
-
False
-
0
-
0%
-
+
-
Automated
-
Undefined
-
Using camel-component to setup the jaas config to connect to managed kafka, there are two sasl mechanism: PLAIN and OAUTHBEARER.
PLAIN just works, but it is not recommended for security reasons.
OAUTHBEARER requires to set sasl.login.callback.handler.class=io.strimzi.kafka.oauth.client.JaasClientOauthLoginCallbackHandler which in camel 3.x uses the configuration additionalProperties.sasl.login.callback.handler.class which is not present in camel 2.23.2.x
So, it is required to set additionalProperties to KafkaConfiguration, upstream PR https://github.com/apache/camel/pull/3468