Hi Group,
Use case - Our GCS bucket has folders and then objects inside them. When any object in our GCS bucket changes in any way, then it is generating notification and sending it to Pub/Sub topic. And then from pub/sub it's getting pushed to our backend app.
Requirement - We only want one notification when a folder is created, instead of getting notified for all the object created inside the folder. Our backend service only wants to get one notification when a folder with multiple files is added.
For example, if a folder is created with 120 files inside it, we just want to receive 1 notification with folder details. We don't need the object/files details.
Current solution - Currently we are receiving all notification and processing each one of them.
Is there a better way to handle this scenario to avoid processing these many request?
Thank you