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

Read the architecture guide →

Notification Dead Letter Queue

Kafka dead-letter topic owned by the platform team that captures order notification commands that Notification API could not deliver.

KafkaDead-Letter Queue

Purpose & Scope

This dead-letter channel captures order lifecycle email commands that Notification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs failed to process. Records land here after bounded SMTP/MailKit retries and listener cooldowns are exhausted, or immediately upon template/deserialization failures.

DLQ Profile

PropertyValue
Owning ServiceNotification APIServicev1.0.0Notification APIInternal background worker that consumes order commands from Kafka, renders MJML email templates, and submits mail over ...SubscribesPlaceOrderCommand, CancelOrderCommand +1APIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs
Address Patternbookworm.{env}.notification.dead-letter-queue
Upstream Source ChannelsOrder Placement Command ChannelChannelv1.0.0Order Placement Command ChannelShared Kafka topic owned by the contributor team carrying Finance order placement commands to Basket API for cleanup and...Ownercommerce-fulfillment-teamOpen docs, 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, Order Cancellation Command ChannelChannelv1.0.0Order Cancellation Command ChannelKafka topic owned by the contributor team carrying Finance order-cancellation commands consumed by Notification API to s...Ownercommerce-fulfillment-teamOpen docs
Routing TriggersExhausted SMTP/provider retries or immediate poison/deserialization/rendering errors
Retention / Inspection WindowGoverned by Kafka broker retention policy; inspect and triage before broker expiry
Replay SafetyRequires manual validation — check mail provider logs to avoid duplicate customer emails

Triage & Replay Guardrails

Warning

Before replaying any record from this DLQ:

  1. Check 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 (mail provider) activity logs first — an SMTP timeout may have occurred after the provider already accepted the email.
  2. Verify that the 24-hour message-ID deduplication cache behavior is understood; replaying a newly issued command ID can send a duplicate email.
  3. Never replay Place orderCommandv1.0.0Place orderShared Finance order-placement command consumed by Notification to render and submit a new-order email. Ownerplatform-engineering-teamSchemaDiagramOpen docs to Order Placement Command ChannelChannelv1.0.0Order Placement Command ChannelShared Kafka topic owned by the contributor team carrying Finance order placement commands to Basket API for cleanup and...Ownercommerce-fulfillment-teamOpen docs to recover email alone, as Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs also consumes that topic.
  4. Keep customer names and email addresses out of incident notes; correlate using orderId and message IDs only.

Follow the operational triage procedures in Incident Triage & Health Check RunbookCustom DocIncident Triage & Health Check RunbookFirst-5-minutes triage commands and symptom-first recovery playbooks for Container Apps, passwordless RBAC, order orches...Ownerplatform-engineering-teamOpen doc.

Channel Details & Visualization

Channel information

Address: bookworm.{env}.notification.dead-letter-queue
Protocol:
  • kafka
Type: Topic

ParameterDescriptionOptionsDefault
envBookWorm deployment environment.development, staging, productiondevelopment