question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] DeserializeEventGridEvents is not working when using the ServiceBusQueue flow

See original GitHub issue

Describe the bug I have not tried all consumer, but when trying it with the Azure Service Bus Queue, the data does not come as an array as mentioned in the doc page here https://docs.microsoft.com/en-us/dotnet/api/overview/azure/eventgrid?view=azure-dotnet

Consequently, calling DeserializeEventGridEvents expects to receive an array, but I receive only 1 object.

Expected behavior Explain how this should work better via the documentation, or provide a better method, or fix the what is being passed in to the queue?

Actual behavior (include Exception or Stack Trace) image

Environment:

  • Microsoft.Azure.EventGrid: 3.2.0
  • Microsoft.Azure.ServiceBus: 3.1.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ahamad-MScommented, Jan 19, 2021

Hello @jsgoupil … thanks for your feedback and we understand your concern.

FYI, Microsoft.Azure.Management.EventGrid is used for various CRUD management APIs through ARM for Event Grid. These are used for control plane only. Microsoft.Azure.EventGrid and Azure.Messaging.EventGrid are for the data plane operations only. The separation between management/control and data plane is the pattern observed by all Azure services and not specific to Event Grid. Actually, it is a requirement for our team to do so.

As for the new Azure.Messaging.EventGrid… We are still in the process of authoring/finalizing this new package. We are working on documentation including migration documents. The goal is to ensure the new package addresses all customers feedback and include all new features (as well as fix any existing bugs in the old package).

We appreciate and understand the pain during this period and we are working hard to address this.

thanks

1reaction
JoshLove-msftcommented, Oct 6, 2020

Just noting that this is not an issue in the new Event Grid SDK that is currently in beta - https://www.nuget.org/packages/Azure.Messaging.EventGrid/4.0.0-beta.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft Flow connecting to Azure Service bus queue not firing
It works when I test it and add a queue message to the queue, the flow fires and sends an email. Problem is...
Read more >
Why am I not getting queue messages using Azure Service ...
I created 2 different web applications to test out using Queues for a project I need to work on. I created one project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found