kafka-docker-playground icon indicating copy to clipboard operation
kafka-docker-playground copied to clipboard

Using plain and OAUTHBEARER

Open astream2018 opened this issue 1 year ago • 1 comments

https://github.com/vdesabou/kafka-docker-playground/blob/986a70c3904ab1f540c50c5c4feec8b911b6aea9/ccloud/audit-log-connector/start.sh#L57

I'm running to an issue with the following error:

Failed to start task auditlogFileStream-0 (org.apache.kafka.connect.runtime.Worker:832) org.apache.kafka.common.KafkaException: Failed to construct kafka consumer Caused by: org.apache.kafka.common.KafkaException: Failed to create new NetworkClient Caused by: org.apache.kafka.common.KafkaException: java.lang.IllegalArgumentException: Unexpected SASL mechanism: PLAIN Caused by: java.lang.IllegalArgumentException: Unexpected SASL mechanism: PLAIN

The Audit log Cluster is using sasl.mechanism PLAIN and the data cluster is OAUTHBEARER. The cluster properties are already configured to use OAUTHBEARER. When try to set both is gives an error 'Unexpected SASL mechanism: PLAIN'

astream2018 avatar Aug 16 '24 10:08 astream2018

are you running out of the box example ? If you have modified the example in any way, I cannot provide any support

vdesabou avatar Aug 16 '24 12:08 vdesabou

closing as per my previous comment

vdesabou avatar Sep 10 '24 08:09 vdesabou