Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Pub/Sub on bucket and/or blob attributes changes? #336

Open
yxiang92128 opened this issue Mar 30, 2020 · 2 comments
Open

Comments

@yxiang92128
Copy link

Hello,

I am wondering if a pub/sub API could be implemented in the SDK for a particular or a commonly known subset of blob/bucket attribute changes such as last modified, size, and new blob inserted.
Basically a callback would be invoked once a notification is configured and triggered due to an attribute change.

Thanks,

Yang

@Jinming-Hu
Copy link
Member

@yxiang92128 Azure Storage REST API doesn't provide such functionality, so this C++ SDK cannot do anything other than polling on each blob. When you get millions of blobs in a storage account, this method gets very inefficient and unusable. You may want to take a look at https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview.

@Jinming-Hu
Copy link
Member

@yxiang92128 Maybe this new feature will help in your scenario?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants