bug: ListSubscriptionsByTopic no longer paginates results #10796
Labels
aws:sns
Amazon Simple Notification Service
status: in progress
Currently being worked on
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
Regardless of how many subscribers you have, ListSubscriptionsByTopic returns all of them in a single page.
Expected Behavior
ListSubscriptionsByTopic should paginate results, similar to how AWS does it and previous versions of LocalStack did it, so that tests of what happens when there are multiple pages work correctly.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
Localstack is started as part of a custom test environment. 101 e-mails are registered via Subscribe, and then the subscriptions are retrieved using ListSubscriptionsByTopic.
Environment
Anything else?
This was working yesterday (2024-05-07). It looks like #10788 replaced the existing implementation that supported pagination with a new one that doesn't. ListSubscriptions is probably similarly affected.
The text was updated successfully, but these errors were encountered: