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

Event not received when blob is appended in blob storage account #21402

Closed
3 of 6 tasks
amit12cool opened this issue Apr 14, 2022 · 7 comments
Closed
3 of 6 tasks

Event not received when blob is appended in blob storage account #21402

amit12cool opened this issue Apr 14, 2022 · 7 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Storage Storage Service (Queues, Blobs, Files)

Comments

@amit12cool
Copy link

amit12cool commented Apr 14, 2022

  • Package Name: @azure/storage-blob
  • Package Version: 12.9.0
  • Operating system: Linux
  • nodejs
    • version: v14.16.1
  • browser
    • name/version: NA
  • typescript
    • version: NA
  • Is the bug related to documentation in

Describe the bug
I'm appending the blob contents using this api AppendBlock.
I need to get an event which has the info of the content that is appended in blob.

Question:-

  1. Is there a way to get blob updated/append event?
  2. If there is a way out for point 1) then can we get the appended content in blob from the event?

To Reproduce
Steps to reproduce the behavior:

  1. Append a blob using [Append block method]https://docs.microsoft.com/en-us/javascript/api/@azure/storage-blob/appendblobclient?view=azure-node-latest#@azure-storage-blob-appendblobclient-download

Expected behavior
An event should be received with the appended content info.

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Apr 14, 2022
@amit12cool amit12cool changed the title Get info on data appended in blob Event not received when blob is appended in blob storage account Apr 14, 2022
@azure-sdk azure-sdk added Client This issue points to a problem in the data-plane of the library. needs-team-triage Workflow: This issue needs the team to triage. Storage Storage Service (Queues, Blobs, Files) labels Apr 14, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 14, 2022
@amit12cool
Copy link
Author

@EmmaZhu any updates on this?

@EmmaZhu
Copy link
Member

EmmaZhu commented Apr 19, 2022

Hi @amit12cool ,

You can see from the document, it only triggers event for four types of operations: https://docs.microsoft.com/en-us/azure/event-grid/event-schema-blob-storage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=cloud-event-schema#list-of-events-for-blob-rest-apis

Upload/append won't trigger the event.

Let me talk with service team to see whether they have plans to add move events.

Thanks
Emma

@amit12cool
Copy link
Author

@EmmaZhu Does the update event trigger when we use the PutBlock or PutBlockList method?

@EmmaZhu
Copy link
Member

EmmaZhu commented Apr 20, 2022

@amit12cool , This is not a SDK issue. You can open a help request on Azure Portal to ask service about this:
image

@EmmaZhu EmmaZhu added the needs-author-feedback Workflow: More information is needed from author to address the issue. label Apr 20, 2022
@ghost ghost removed the needs-team-triage Workflow: This issue needs the team to triage. label Apr 20, 2022
@amit12cool
Copy link
Author

amit12cool commented Apr 26, 2022

hey @EmmaZhu I noticed when I update/edit the blob on Azure portal of type Block blob I get a Blob Created event on my event grid subscription. Is there any api/function to update Block blob from code?

@ghost ghost added needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team and removed needs-author-feedback Workflow: More information is needed from author to address the issue. labels Apr 26, 2022
@EmmaZhu
Copy link
Member

EmmaZhu commented Apr 26, 2022

Hi @amit12cool , this is not a SDK issue. You should be able to get more detailed answer about service behavior by the Help Request from Azure Portal.

image

@EmmaZhu
Copy link
Member

EmmaZhu commented Aug 26, 2022

Any further assistant required, please feel free to reactive this issue.

@EmmaZhu EmmaZhu closed this as completed Aug 26, 2022
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this issue Nov 24, 2022
Review request for Microsoft.ContainerService to add version 2022-10-02-preview (Azure#21439)

* Adds base for updating Microsoft.ContainerService from version preview/2022-09-02-preview to version 2022-10-02-preview

* Updates readme

* Updates API version in new specs and examples

* Pmiller/nodeosupgradechannel (Azure#21326)

* missed working comment

* matthew comments

* unpatched is a word

* Add MaintenanceWindow into MaintenanceConfigurationProperties (Azure#21337)

* Add MaintenanceWindow into MaintenanceConfigurationProperties

* Fx PrettierCheck

* Fix ARM ID format for samples (Azure#21402)

* Fix Swagger Model Validation for the 2022-10-02-preview dev branch of container service (Azure#21373)

* fix API version

* fix INVALID_FORMAT byte

* fix INVALID_FORMAT arm-id

* fix missing resource id

* fix LRO_RESPONSE_HEADER

* Update readmes for the 2022-10-02-preview dev branch of container service (Azure#21366)

* update readmes

* remove fleets

* Updating abort apis response to make it long running  (Azure#21362)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

Co-authored-by: InduSridhar <[email protected]>

* fix 202 location header

* fix ProvisioningState validation

* add x-ms-long-running-operation-options

* fix ResourceNameRestriction

* Fix abort location url in example (Azure#21446)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

Co-authored-by: InduSridhar <[email protected]>

* Abort api response fix (Azure#21559)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

* Fixing headers and body for abort response

* Linter fix

* Lint fix

* Updating managedclusters.json responses

Co-authored-by: InduSridhar <[email protected]>

* Node os upgrade desc fix (Azure#21636)

* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

* Fixing location url in abort examples

* Fixing headers and body for abort response

* Linter fix

* Lint fix

* Updating managedclusters.json responses

* Minor edit to node os upgrade description based on ARM review

Co-authored-by: InduSridhar <[email protected]>

Co-authored-by: Paul Miller <[email protected]>
Co-authored-by: Thalia Wang <[email protected]>
Co-authored-by: Matthew Christopher <[email protected]>
Co-authored-by: InduSridhar <[email protected]>
Co-authored-by: InduSridhar <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

No branches or pull requests

3 participants