awslabs / amazon-kinesis-producer

Amazon Kinesis Producer Library
Apache License 2.0
401 stars 331 forks source link

Issues in KPL when using multiple sets of credentials #301

Open joshua-kim opened 4 years ago

joshua-kim commented 4 years ago

We've been able to consistently reproduce an issue in the KPL where when using multiple credentials for CW metrics/Kinesis access (in our repro, when using an assumed role), the KPL will use the wrong set of credentials when hitting one of the services. This usually manifests itself as a ResourceNotFound, where the stream name can't be found using the CloudWatch account. See below error message for details.

5878 [kpl-daemon-0003] ERROR com.amazonaws.services.kinesis.producer.LogInputStreamReader - [2020-06-16 04:24:17.966245] [0x0001620e][0x000070000110f000] [error] [AWS Log: ERROR](AWSClient)HTTP response code: 400
Exception name: ResourceNotFoundException
Error message: Stream kinesis under account 1234 not found.
quanluuntq commented 3 years ago

I have same issue when using KPL

kkoon9 commented 10 months ago

I have same issue when using KPL I'm upgrading the spring boot version 3