Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publishing non event-sourced events #884

Merged
merged 11 commits into from
Nov 25, 2024
Merged

feat: publishing non event-sourced events #884

merged 11 commits into from
Nov 25, 2024

Conversation

MaxSchaefer
Copy link
Member

@MaxSchaefer MaxSchaefer commented Nov 4, 2024

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.

@MaxSchaefer MaxSchaefer self-assigned this Nov 4, 2024
@MaxSchaefer MaxSchaefer force-pushed the more-events branch 3 times, most recently from bdd42de to dc39d8d Compare November 8, 2024 18:13
@MaxSchaefer MaxSchaefer changed the title More events feat: publishing non event-sourced events Nov 11, 2024
@MaxSchaefer MaxSchaefer marked this pull request as ready for review November 11, 2024 13:49
@MaxSchaefer MaxSchaefer requested a review from a team as a code owner November 11, 2024 13:49
@MaxSchaefer MaxSchaefer requested review from FoseFx and PaulKalho and removed request for a team November 11, 2024 13:49
proto/libs/events/v1/options.proto Show resolved Hide resolved
libs/hwes/event.go Outdated Show resolved Hide resolved
libs/hwes/event.go Outdated Show resolved Hide resolved
libs/hwes/event.go Outdated Show resolved Hide resolved
libs/hwes/event.go Show resolved Hide resolved
services/tasks-svc/internal/ward/ward.go Outdated Show resolved Hide resolved
proto/services/updates_svc/v1/updates_svc.proto Outdated Show resolved Hide resolved
services/updates-svc/stories/updates_test.go Outdated Show resolved Hide resolved
services/updates-svc/stories/updates_test.go Outdated Show resolved Hide resolved
services/updates-svc/stories/updates_test.go Outdated Show resolved Hide resolved
@MaxSchaefer MaxSchaefer requested a review from FoseFx November 13, 2024 16:33
@MaxSchaefer MaxSchaefer requested a review from FoseFx November 14, 2024 08:55
@FoseFx FoseFx assigned FoseFx and unassigned MaxSchaefer Nov 21, 2024
@FoseFx FoseFx merged commit e1d7c0c into main Nov 25, 2024
85 checks passed
@FoseFx FoseFx deleted the more-events branch November 25, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants