-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] CloudEvent not compatible with schema #40135
Comments
Hi @joahuber . Thank you for reporting this issue. Could you help provide a minimal project? And we will take a look. We appreciate your input and will review this matter as soon as possible. |
@joshfree should this be an Event Grid related issue? |
@Netyyyy Please find the sample project below. It consists of a single unit test. As soon as you upgrade to version 5.9.0 of the spring-cloud-azure-dependencies dependencies it fails. |
Hi @joahuber , thanks for your sample. I saw you are using @billwert please help take a look |
Hi @Netyyyy
which is pulled in as transitive dependency by azure-messaging-eventgrid. It only seems to happen when upgrading to 5.10 of your BOM. |
OK, @alzimmermsft please help take a look, it occurs when using |
Hi @joahuber, thanks for reporting this, this definitely did break with the release of Within your application would it be possible to use I'll look into getting this fixed for future releases of |
Describe the bug
The com.azure.core.models.CloudEvent class is not compatible with the EventGrid events anymore. This is an issue since version 5.9.0.
Exception or Stack Trace
To Reproduce
Try parsing a sample json event, e.g. https://learn.microsoft.com/en-us/azure/event-grid/cloud-event-schema#sample-event-using-cloudevents-schema with a version >5.8.0.
Code Snippet
Unit test to reproduce:
Expected behavior
Events from EventGrid can be parsed into CloudEvent object.
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
Additional context
n.a.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: