Skip to content

Harmonise CD Events with CloudEvents #254

@thompson-tomo

Description

@thompson-tomo

It would be great if CD Events could Harmonise their specifications with Cloud Events so that they are complementary and work together seamlessly without adapters.

My proposal would be as follows:

  • All CD Events are wrapped in the cloud events envelope and values are what would be in CDEvent Context
  • CDEvent Subject content is serialised into the data property of the cloud event envelope

I am aware that this is a significant breaking change but feel the ecosystem would benefit from this and enable CD events to focus on standardising the event definitions whole cloud events leads the way in how to pack and unpack the events.

This approach would also enable any cd events SDK to be simplified based on the fact that cloud events would be providing a class containing

  • string representation of the data which needs to be de-serialised
  • The name of the class the data needs to be Deserialised to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions