Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
1.5.1
-
None
-
None
Description
KinesisUtils.createStream() allows specifying only one set of AWS credentials that will be used by Amazon KCL for accessing Kinesis, DynamoDB and CloudWatch.
Motivation
In a scenario where one needs to read from a Kinesis Stream owned by a different AWS account the user usually has minimal rights (i.e. only read from the stream). In this case creating the DynamoDB table in KCL will fail.
Proposal
My proposed solution would be to allow specifying multiple credentials in KinesisUtils.createStream() for Kinesis, DynamoDB and CloudWatch. The additional credentials could then be passed to the constructor of KinesisClientLibConfiguration or method KinesisClientLibConfiguration.withDynamoDBClientConfig().
Attachments
Issue Links
- duplicates
-
SPARK-19911 Add builder interface for Kinesis DStreams
- Resolved
- links to