dolittle-obsolete / DotNET.Fundamentals

Reusable, fundamental abstractions and building blocks
http://www.dolittle.io
MIT License
4 stars 8 forks source link

Revise Event Envelope #18

Closed einari closed 6 years ago

einari commented 6 years ago

Envelope does not need to hold a sequence number per type.

By building a replication system with configurable partitioning strategies, we can simply have a replica partitioned / structured the way we want it

smithmx commented 6 years ago

Need to look at the metadata again. We need metadata for the "source" bounded context (occurred, source commit sequence number, etc) which is distinct from the "receiving" bounded context when an event is broadcast between bounded contexts.

We need a SHA to ensure that the event hasn't been changed.