cloudevents / spec

CloudEvents Specification
https://cloudevents.io
Apache License 2.0
5.11k stars 586 forks source link

Suggestion about Structuring a Composite "subject" Field #1261

Closed evarga closed 9 months ago

evarga commented 9 months ago

Background

The core specification lacks any recommendation how to cope with a composite subject field. Leaving everything to a producer may create an undesirable situation of packing, even semantically similar, subject content in arcane manner.

Proposed Changes

This PR adds an additional example, suggesting a different way to structure the content of the subject field, while fully preserving compatibility with the existing standard.

duglin commented 9 months ago

approved on the 2/29 call. Just waiting for one possible last minute tweak

duglin commented 9 months ago

thanks @evarga Merging