Add `listShards` to `AmazonDynamoDBStreamsAdapterClient`
acm19 opened this issue · 0 comments
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 is ListShards
. DynamoDB Stream doesn't support this so that's broken at the moment in that project: spring-projects/spring-integration-aws#181. It is using ListShards
instead of DynamoDB streams because of this issue: spring-cloud/spring-cloud-stream-binder-aws-kinesis#134, where some people were having problems with the DescribeStream
operation limits.
Would you consider adding support for ListShards
operation by delegating that to DescribeStream
API in case of DynamoDB stream? If so let me know and I can do a PR like this one: spring-cloud/spring-cloud-stream-binder-aws-kinesis#144 to this repo instead.