Closed dezka closed 1 year ago
What is the class missing? NoClassDefFoundError is the exception, what is the message?
Sorry, missed it on the OP, updated it to include the exception.
The error is this one:
utils-2.17.223.jar
The StaleValueBehavior is not present in 2.17.223: https://javadoc.io/doc/software.amazon.awssdk/utils/2.17.223/software/amazon/awssdk/utils/cache/CachedSupplier.html
But it's present in 2.17.250: https://javadoc.io/doc/software.amazon.awssdk/utils/2.17.250/software/amazon/awssdk/utils/cache/CachedSupplier.html
There should have been something wrong with 3.18.2, because utils is misaligned with the other jars. Try with 3.20.3, where they are all aligned to 2.18.40
or alternatively you should remove the 2.17.233 version of utils jar and use 2.17.250
👍 thanks. Using 3.20.3 works for me. Is this a problem that only presented itself because I'm trying to use the STS jar? Or did 3.18.2 already have this issue?
Is 3.20.3 production ready?
I think so. It should be related to sts.
This project is mostly followed by volunteers. It's just a release with a good level of trust
Cool. Thanks for all the help!
Version 3.18.2 of the connector, Kafka Connect 2.8, Java 11, Kafka 2.8.
config:
I am intending to use the Web Identity Token method of authing into AWS. The token file is present on the Kafka Connect instances and I am currently using it with other connectors. However I seem to be missing another JAR dependency here and I can't figure out which one.
Files:
Here is the exception I'm getting: