arcus-azure / arcus.eventgrid

Azure Event Grid development in a breeze
https://eventgrid.arcus-azure.net/
MIT License
17 stars 6 forks source link

Feature - CloudEvents v1.0 support, optionally even v0.2 & v0.3. #123

Closed stijnmoreels closed 4 years ago

stijnmoreels commented 4 years ago

What feature would you like to have? We should support event parsing for CloudEvents v1.0, and optionally even v0.2 & v0.3.

Maybe the SDK can help here.

Originally posted by @tomkerkhove in https://github.com/arcus-azure/arcus.eventgrid/pull/112

stijnmoreels commented 4 years ago

Maybe we should provide a content type in the parser so we can be sure it's a cloud event instead on relying that some properties will be available in a certain version.

tomkerkhove commented 4 years ago

I think it's best to provide a dedicated parser per spec version

stijnmoreels commented 4 years ago

I think it's best to provide a dedicated parser per spec version

The SDK handles this for us. Already checks for several versions.