awslabs / amazon-kinesis-client

Client library for Amazon Kinesis
Apache License 2.0
642 stars 465 forks source link

Update RetrievalFactory implementations to utilize the StreamIdentifier field of StreamConfig #1291

Closed furq-aws closed 5 months ago

furq-aws commented 6 months ago

Issue #, if available: N/A.

Description of changes: Update the RetrievalFactory implementations to utilize the pre-existing StreamIdentifier from the StreamConfig argument. A StreamIdentifier provided from Scheduler (through StreamConfig) may contain additional information such as the stream's ARN, and we don't need to reconstruct it from ShardInfo since it is already available here.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.