Order Completion Event Channel
Kafka topic owned by the commerce-fulfillment-team carrying Order API events when an order transitions from New to Completed.
Purpose & Scope
This topic transports order completion events published by Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle,
creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs when an order transitions from New to Completed. Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket
cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs consumes these events to advance the order saga and dispatch a completion email command to Order Completion Command ChannelChannelv1.0.0Order Completion Command ChannelKafka topic owned by the contributor team carrying Finance order-completion
commands consumed by Notification API to sen...Ownercommerce-fulfillment-teamOpen docs. This event reports order status only and does not confirm email delivery.
In current payloads, the basketId field carries the buyer identifier rather than an independent Basket service record identifier.
Channel Specification
| Property | Value |
|---|---|
| Bounded Context / Owner | OrderingDomainv1.0.0OrderingCreates durable Orders from a buyer's current basket, locks purchase-time pricing, and owns order lifecycle transitions ...Ownercommerce-fulfillment-teamDiagramOpen docs / Commerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs |
| Channel Type | Topic |
| Address Pattern | bookworm.{env}.ordering.order-status-change-to-complete |
| Parameters | env (development, staging, production; default: development) |
| Protocol & Envelope Format | Kafka + CloudEvents JSON (application/json) |
| Partition Key & Ordering Guarantee | Keyed by orderId; preserves per-order event ordering within a partition |
| Delivery Semantics | At-least-once |
| Dead-Letter Channel | None (direct worker consumption by Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs) |
Messages & Participants
| Message | Type | Producer | Consumer(s) | Consumer Group |
|---|---|---|---|---|
| Order completedEventv1.0.0Order completedReports that an Order transitioned from New to Completed. Ownercommerce-fulfillment-teamSchemaDiagramOpen docs | Event | Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs | Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs | Finance orchestration worker |
Ordering, Retries & Failure Handling
- Partition-key ordering: Keying by
orderIdensures completion events are serialized per order within a partition. - Transient retries: Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs applies bounded retry/backoff on transient orchestration host or state faults.
- Poison & failure posture: Direct worker consumption has no dedicated service DLQ; inspect Finance worker logs and saga state before replaying or resetting offsets.
- Consumer idempotency: Completed orchestration instances ignore late or duplicate completion events.
Channel Details & Visualization
Channel information
bookworm.{env}.ordering.order-status-change-to-complete- kafka
| Parameter | Description | Options | Default |
|---|---|---|---|
| env | BookWorm deployment environment. | development, staging, production | development |
Related Documentation
- Order Completion Command ChannelChannelv1.0.0Order Completion Command ChannelKafka topic owned by the contributor team carrying Finance order-completion commands consumed by Notification API to sen...Ownercommerce-fulfillment-teamOpen docs — Downstream notification command topic
- User Checkout Event ChannelChannelv1.0.0User Checkout Event ChannelKafka topic owned by the commerce-fulfillment-team carrying Order API checkout events that initiate Finance post-checkou...Ownercommerce-fulfillment-teamOpen docs — Upstream checkout event topic
- Order Cancellation Event ChannelChannelv1.0.0Order Cancellation Event ChannelKafka topic owned by the commerce-fulfillment-team carrying Order API events when an order transitions from New to Cance...Ownercommerce-fulfillment-teamOpen docs — Paired cancellation event topic
- Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs — Order status event producer
- Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs — Finance saga consumer
- Order Lifecycle and Status TransitionsFlowv1.0.0Order Lifecycle and Status TransitionsCheckout creates a New Order owned by Ordering API, Finance coordinates post-order cleanup and notifications, and explic...Ownercommerce-fulfillment-teamView flowOpen docs — End-to-end order lifecycle flow
- Contracts and MessagingCustom DocContracts and MessagingOwned APIs and events connect independently maintained BookWorm capabilities without sharing business state.Ownerplatform-engineering-teamOpen doc — Messaging standards and idempotency rules