aws / aws-msk-iam-auth

Enables developers to use AWS Identity and Access Management (IAM) to connect to their Amazon Managed Streaming for Apache Kafka (Amazon MSK) clusters.
Apache License 2.0
142 stars 65 forks source link

EnhancedProfileCredentialsProvider adds a backwards-incompatible dependency on AWS SDK v2 #110

Closed siuryan closed 2 weeks ago

siuryan commented 1 year ago

With the exception of this class, this library is compatible with AWS SDK v1. To maintain backwards compatibility, anyone using SDK v1 should be able to use this library without the SSO functionality.

The error: Error performing operation. Error: Failed to create new KafkaAdminClient, Topic name: unknown, Failed to create new KafkaAdminClient, java.lang.NoClassDefFoundError: software/amazon/awssdk/auth/credentials/ProfileCredentialsProvider, software/amazon/awssdk/auth/credentials/ProfileCredentialsProvider, software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider

This is because the path to ProfileCredentialsProvider changed from v1 to v2.

github-actions[bot] commented 2 months ago

We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.