NOTE
2.11 Best-Effort Notification with a Message Queue
Using an MQ for retryable notifications while keeping an authoritative query path for receivers that miss or cannot process a callback.
This is a historical learning note and may contain outdated or incomplete understanding.
1. Flow

- The producer commits its local business transaction.
- It publishes a notification to the message queue using a reliable producer-side mechanism appropriate to the system.
- The consumer receives the notification and executes its local operation.
- Failed deliveries or processing attempts are retried according to broker/application policy.
- The consumer can query the producer’s authoritative result when notification delivery is uncertain or retries are exhausted.
2. Design Requirements
- consumer processing must tolerate duplicate delivery;
- retries need bounded backoff and dead-letter/escalation policy;
- the producer should expose a stable idempotency/business key;
- the query API must return the authoritative final state rather than infer success from whether a callback was seen.
3. Compared with Reliable Eventual Consistency
Both can use a message queue. The distinction is contractual: reliable event workflows usually treat eventual downstream processing as required for convergence, whereas best-effort notification allows the notification channel itself to stop retrying and relies on query/reconciliation for final recovery.