ksobrenat32 opened a new pull request, #35553: URL: https://github.com/apache/beam/pull/35553
This PRimproves the `stale_cleaner` tool by introducing functionality to clean up stale PubSub subscriptions, alongside existing support for PubSub topics. It also includes unit tests to validate the new functionality. ### Code added * Added a new `PubSubSubscriptionCleaner` class to handle stale PubSub subscriptions. This includes methods for listing active subscriptions, applying prefix filtering, checking if subscriptions are detached, and deleting stale subscriptions. ### Updates to existing code * Created a function for calling each cleaner instance, this way we can just run certain cleaner without refreshing all. ### Minor fixes * Updated the `delete_topic` method call in the `PubSubTopicCleanerTest` class to align with the new request format from: #35513 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org