Hi Group,
Use case - Our GCS bucket folders and then files inside them. Directory like structure. Whenever an object in any folder changes, or deleted, or a new folder is added with a lot of files inside it, we want to receive a notification in pub/sub and then from pub/sub to our backend service.
Requirement - When the multiple objects of a folder change in any way, either replace, delete, or add, then we want to receive just 1 notification in our backend service. We only need folder info and we don't need the changed objects details.
For example - if a folder with 100 objects inside it has been uploaded to bucket, we want just 1 notification for this change, instead of 100 notifications.
Current Solution - We are receiving all the the notification and processing each one of them to get folder details and acknowledging each of the notification receipt.
Is there a simpler or better way to do it ?
Thank you