Skip to content

refactor: keep OrderPlaced in-process instead of round-tripping through Kafka - #99

Merged
falberthen merged 1 commit into
masterfrom
refactor/order-placed-in-process
Aug 31, 2026
Merged

refactor: keep OrderPlaced in-process instead of round-tripping through Kafka#99
falberthen merged 1 commit into
masterfrom
refactor/order-placed-in-process

Conversation

@falberthen

Copy link
Copy Markdown
Owner

Changes

  • Program.cs: remove PublishMessage<OrderPlaced>().ToKafkaTopic("orders") and ListenToKafkaTopic("orders"). The broker now carries only the payments and shipments integration events.
  • OrderPlaced: remove [MessageIdentity]; it is no longer a wire message.
  • PlaceOrderHandler: inject IMessageBus and publish OrderPlaced right after AppendEventsAndCommitAsync.

@falberthen
falberthen merged commit 2e0d5fe into master Aug 31, 2026
3 checks passed
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.

1 participant