helpwave / services

helpwave's microservices
https://staging.api.helpwave.de/
Mozilla Public License 2.0
14 stars 1 forks source link

feat: publishing non event-sourced events #884

Open MaxSchaefer opened 3 weeks ago

MaxSchaefer commented 3 weeks ago

This pull request enables our event to be defined in proto message. An event message contains the option libs.events.v1.event_type. This option gets evaluated by our event logic to resolve the event type directly from the proto defintion.

I also introduce the concept of an EntityEvent. Those events are quickly raised events in non event sourced services.