Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Internal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over SMTP via MailKit.

InternalEvent-drivenAsyncAPI V1

Service Responsibility & Boundary

Notification API is an internal background worker within the PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs domain that consumes order lifecycle commands from 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 over Kafka, renders MJML email templates, and submits MIME messages over SMTP to SendGrid APIServicev1.0.0SendGrid APIExternal SMTP email delivery provider used by BookWorm to submit rendered order notification emails over authenticated S...Ownerplatform-engineering-teamDiagramOpen docs (or a local test inbox in development). It owns no relational database, maintains no email outbox, and publishes no reply events—calling domains retain full ownership of business outcomes.

Service Profile

PropertyValue
Bounded Context / DomainPlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs
Owner TeamPlatform Engineering TeamTeamPlatform Engineering TeamPlatform team providing BookWorm's thinnest viable platform—orchestration, messaging fabric, scheduling, notifications, ...Open docs
Runtime StyleAsync Worker (Kafka Consumer & SMTP Client)
Public / Gateway ExposureInternal Only (not routed via API Gateway)
Authentication & Authorization PolicyInternal worker; Azure Managed Identity for cache access and runtime secret configuration for SMTP credentials
Owned Data Store(s)Redis (24-hour message-ID deduplication cache) — no SQL database or outbox
Key Resilience / Idempotency Pattern24-hour message-ID idempotency guard, bounded SMTP retry pipeline, Kafka listener cooldowns, and dead-letter routing on Notification Dead Letter QueueChannelv1.0.0Notification Dead Letter QueueKafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could...Ownerplatform-engineering-teamOpen docs

Contracts & Data Ownership

Notification API consumes Place orderCommandv1.0.0Place orderShared Finance order-placement command consumed by Notification to render and submit a new-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docs, Send order completed notificationCommandv1.0.0Send order completed notificationShared Finance completion command consumed by Notification to render and submit a completed-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docs, and Send order cancelled notificationCommandv1.0.0Send order cancelled notificationShared Finance cancellation command consumed by Notification to render and submit a canceled-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docs partitioned by Order ID. Blank recipient email addresses are skipped safely without error or retry.

Warning

SMTP acceptance from the mail provider confirms only submission—not inbox arrival—and Notification does not ingest bounce or delivery webhooks. Additionally, because 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 retries Place orderCommandv1.0.0Place orderShared Finance order-placement command consumed by Notification to render and submit a new-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docs with a new message ID on basket-cleanup timeouts, retries can send an additional placement email.

Sends messages (0)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
No messages found

Receives messages (3)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
Place order
v1.0.0commandShared Finance order-placement command consumed by Notification to render and submit a new-order email.
-
Send order cancelled notification
v1.0.0commandShared Finance cancellation command consumed by Notification to render and submit a canceled-order email.
-
Send order completed notification
v1.0.0commandShared Finance completion command consumed by Notification to render and submit a completed-order email.
-

Architecture Visualizations & Specifications

Notification Delivery Context

Loading graph...

Service Interactions