The Amazon DynamoDB Streams Adapter implements the Amazon Kinesis interface so that your application can use KCL to consume and process data from a DynamoDB stream.
Apache License 2.0
97
stars
37
forks
source link
Add `listShards` to `AmazonDynamoDBStreamsAdapterClient` #39
AmazonDynamoDBStreamsAdapterClient
is being used by https://github.com/spring-projects/spring-integration-aws to switch from DynamoDB Streams to Kinesis Stream models. The problem is one of the operations being used isListShards
. DynamoDB Stream doesn't support this so that's broken at the moment in that project: https://github.com/spring-projects/spring-integration-aws/issues/181. It is usingListShards
instead of DynamoDB streams because of this issue: https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis/issues/134, where some people were having problems with theDescribeStream
operation limits.Would you consider adding support for
ListShards
operation by delegating that toDescribeStream
API in case of DynamoDB stream? If so let me know and I can do a PR like this one: https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis/pull/144 to this repo instead.