How can we improve Azure Event Grid?

CloudEvents schema: Variables in WebHook url

Since in CloudEvents 0.1 we deliver single events, it would be useful to be able to pass event properties into the webhook url. This would allow easy routing on the subscriber side. For example a spec version variable and an eventType variable would allow for an webhook url like this:

https://api.someservice.com/{cloudEventsVersion}/{eventType}/{eventTypeVersion}
which would result in something like
https://api.someservice.com/0.1/com.someservice.contacts.added/1.0

We could then easily build an api that supports all kind of versions and eventTypes without a long list of single eventType subscribtions.

12 votes
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Anonymous shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Mario Meyrelles commented  ·   ·  Flag as inappropriate

    This is also very useful when you want to integrate with Azure SignalR Service. This can be interesting in CQRS scenarios, where I it would be interesting to notify users asynchronously when something happens.

Feedback and Knowledge Base