Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use EC2ContainerCredentialsProviderWrapper in kinesis consumer #43

Closed
ghost opened this issue Feb 15, 2017 · 1 comment
Closed
Milestone

Comments

@ghost
Copy link

ghost commented Feb 15, 2017

Inside ECS container, DefaultAWSCredentialsProviderChain is getting ECS host profile instead of the taskRoleArn provided in ECS task definition.

We are using amazon_kclpy client to consumer from a stream. Even if we use latest version of this (1.4.3), we have the issue. When I explicitly set AWSCredentialsProvider = EC2ContainerCredentialsProviderWrapper in properties file, I get the below error:
No credential providers specifiedjava com.amazonaws.services.kinesis.multilang.MultiLangDaemon

It looks like this is because the below setup.py is referencing aws-java-sdk-core 1.11.14 here
https://github.com/awslabs/amazon-kinesis-client-python/blob/master/setup.py#L66

However, I see that EC2ContainerCredentialsProviderWrapper is release in 1.11.16 onwards only.

Can you please update https://github.com/awslabs/amazon-kinesis-client-python/blob/master/setup.py to use latest version of aws-java-sdk-* jars?

@pfifer pfifer added this to the Version 1.4.4 milestone Apr 7, 2017
@pfifer
Copy link
Contributor

pfifer commented Apr 7, 2017

Version 1.4.4 has just been released that has version 1.11.115 of the AWS Java SDK.

Please try it out, and reopen if you're still having any issues.

@pfifer pfifer closed this as completed Apr 7, 2017
pfifer added a commit to pfifer/amazon-kinesis-client-python that referenced this issue Apr 10, 2017
* [PR awslabs#47]: Update to release 1.7.5 of the Amazon Kinesis Client.
  * Additionally updated to version 1.11.115 of the AWS Java SDK.
  * Fixes [Issue awslabs#43].
  * Fixes [Issue awslabs#27].
pfifer added a commit that referenced this issue Apr 10, 2017
* [PR #47]: Update to release 1.7.5 of the Amazon Kinesis Client.
  * Additionally updated to version 1.11.115 of the AWS Java SDK.
  * Fixes [Issue #43].
  * Fixes [Issue #27].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant