Open Devarsh23 opened 9 months ago
I had the same issue with bitnami kafka image. In my case the jar file was not copied inside the image. Only the jar name was copied; the content of the jar was empty.
Basically what this error says is that the IAM auth jar is not loaded into the JVM.
We are facing the following issue when we are trying to use the IAM authentication from kafka connect. We are getting
Invalid value software.amazon.msk.auth.iam.IAMClientCallbackHandler for configuration sasl.client.callback.handler.class: Class software.amazon.msk.auth.iam.IAMClientCallbackHandler could not be found.
We are using the
confluentinc/cp-kafka-connect-base
image with version 7.5.0. So, while creating our image, which will use the IAM auth, we are using the latest jar of version 2.0.3. In this image, we are copying this jar into the following path/usr/share/java/
/etc-kafka-connect/jars
/usr/share/java/cp-base-new
We are running our
kafka-connect
in the distributed mode. We have also set the CLASSPATH in the docker file as an environment variable to this path/usr/share/java/
. Also, we have set the plugin path for ourkafka-connect
to/usr/share/java,/usr/share/confluent-hub-components
But after all this, we still get the same error mentioned above. Do you guys have any idea on how to resolve this issue?