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] [EventGrid] Cloud event time serialization

See original GitHub issue

Library name and version

Azure.Messaging.EventGrid

Describe the bug

Hello

When I publish cloud events with time in the UTC format - I see time with offset but should be without offset, just with Z in the end. Could you please add a custom serialization or make this field virtual or string or something else?

Thank you, best regards.

Expected behavior

"time": "2022-04-05T19:19:42.58Z"

Actual behavior

"time": "2022-04-05T19:19:42.5805717+00:00"

Reproduction Steps

Publish cloud events with time in the UTC format.

Environment

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jsquirecommented, Apr 6, 2022

Thank you for your feedback. Tagging and routing to the team member best able to assist.

1reaction
a-dovgalcommented, Apr 7, 2022

@JoshLove-msft got it. Thank you for the fast answer. Best regards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] Serializing CloudEvent using Microsoft.Azure. ...
Describe the bug. SendCloudEventsInternalAsync is not correctly serializing CloudNative.CloudEvents before sending event to Azure Event Grid ...
Read more >
How do I find the reason why my Event Grid messaghes fail ...
I have created a Custom Topic for my event grid for Cloud Events v1.0. I have a logic app that is subscribed to...
Read more >
c# - .Net Event Grid Webhook Model Binding Error
I have tried to implement a custom model instead of using ResourceWriteSuccessData but get the same result. My model binder looks like this,...
Read more >
CloudEvent.java
Should be serializable with the serializer set on the publisher client. *; * @return the cloud event itself. */
Read more >
Reactive Programming with Event Grid and Azure Functions
I play with the Azure Event Grid . Azure Event Grid is a fully-managed intelligent event routing service that allows for uniform event...
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