aws / aws-sigv4-auth-cassandra-java-driver-plugin

A SigV4 authentication plugin for the open-source DataStax Java Driver for Apache Cassandra. Allows use of AWS IAM users and roles for direct authentication.
Apache License 2.0
13 stars 14 forks source link

Version 4.0.3 not compatible with other AWS libraries ( Ex: version 1.11.904 ) #20

Closed Ostico closed 3 years ago

Ostico commented 3 years ago

This version requires

        <dependency>
            <groupId>com.amazonaws</groupId>
            <artifactId>aws-java-sdk-core</artifactId>
            <version>1.11.717</version>
        </dependency>

which is incompatible with newest com.amazonaws library releases

java.lang.NoSuchFieldError: ENDPOINT_OVERRIDDEN
    at com.amazonaws.services.sqs.AmazonSQSClient.executeGetQueueUrl(AmazonSQSClient.java:1200) ~[aws-java-sdk-sqs-1.11.904.jar:?]
    at com.amazonaws.services.sqs.AmazonSQSClient.getQueueUrl(AmazonSQSClient.java:1182) ~[aws-java-sdk-sqs-1.11.904.jar:?]
    at com.amazon.sqs.javamessaging.AmazonSQSMessagingClientWrapper.queueExists(AmazonSQSMessagingClientWrapper.java:220) ~[amazon-sqs-java-messaging-lib-1.0.8.jar:?]
bhouse99 commented 3 years ago

The latest release (4.0.4) should be compatible with aws sdk 2, so hopefully this issue is now resolved.

Ostico commented 3 years ago

Thank you!