ThreeDotsLabs / watermill

Building event-driven applications the easy way in Go.
https://watermill.io
MIT License
7.1k stars 379 forks source link

Add CloudEvents integration #125

Open sagikazarmark opened 4 years ago

sagikazarmark commented 4 years ago

CloudEvents is a specification for sending events in the cloud native environment. They also provide SDKs.

It might be a good addition to the project to support CloudEvents. Although it's not stable yet, as of 0.3 the "core" is considered to be stable enough.

roblaszczak commented 4 years ago

We will look on that :) Do you think that may be integrated as a component? Or closer to Pub/Sub?

sagikazarmark commented 4 years ago

I think it's closer to Pub/Sub, but I have to admit, I'm not that familiar with the spec. Maybe looking at the implemented SDKs could answer that question.

k-jay-c commented 11 months ago

Has there been any more thoughts on this? Last update was 4 years ago. Cloudevents has come on quite a bit since then.

OneCricketeer commented 10 months ago

I feel as though watermill should focus on handling byte slices. Serialization can be handled as middleware layers, or in the processing logic

eolalde commented 3 months ago

Indeed, I love watermill and use it in a few projects, and now starting to look into cloudevents.io it seems like a great fit for the watermill landscape.