Phase 1 (blueprint only). No article content is generated until you approve. This is a full redesign, not constrained to the old topic set. It is comprehensive but non-redundant: closely related topics are merged into a single page so no concept is duplicated. Every core concept ships with at least one Mermaid diagram (flowchart for topologies, sequenceDiagram for lifecycles), worked Spring Boot code, and the Order/Inventory/Notification microservice scenario.
_courses/rabbit-mq/; reuse existing permalinks where a module maps to an old one, add new permalinks otherwise.flowchart TD
s1[1. Foundations and Setup]
s2[2. Core Messaging and Routing]
s3[3. Building with Spring AMQP]
s4[4. Reliability and Resilience]
s5[5. Event-Driven Architecture and Advanced Patterns]
s6[6. Production Readiness]
s7[7. Operations and Troubleshooting]
s8[8. Capstone and Assessment]
s1 --> s2 --> s3 --> s4 --> s5 --> s6 --> s7 --> s8
/rabbit-mq/rest-vs-messaging) [REWRITE of 00] sequenceDiagrams (REST vs publish), flowchart LR of the four moving parts./rabbit-mq/core-concepts) [REWRITE of 01] flowchart LR of connection/channel/vhost model./rabbit-mq/setup) [NEW] rabbitmqctl basics, publish a test message by hand. Extracts/expands the setup practical from old module 0. Diagram: flowchart LR local dev topology./rabbit-mq/exchanges-and-routing) [NEW] flowchart per exchange type; topic routing-key table (* vs #)./rabbit-mq/queues-and-messages) [NEW, merged: queue types + message anatomy] flowchart TD queue-type decision guide; labeled flowchart of a message envelope./rabbit-mq/spring-amqp-getting-started) [NEW, serialization merged in] spring-boot-starter-amqp, CachingConnectionFactory, RabbitTemplate, @RabbitListener, topology beans, auto-declaration, and Jackson2JsonMessageConverter with typed DTOs and type mapping. Advanced schema/versioning is deferred to the Event-Driven module. Diagram: sequenceDiagram of end-to-end round trip./rabbit-mq/acknowledgements-prefetch) [NEW] basicAck/basicNack/basicReject, requeue semantics, prefetch/QoS, concurrency/max-concurrency, throughput vs safety. Canonical home for prefetch mechanics (referenced by Performance). Diagram: sequenceDiagram of manual ack/nack./rabbit-mq/messaging-patterns) [NEW] sendAndReceive, direct reply-to) in Spring AMQP. Diagram: one flowchart/sequenceDiagram per pattern./rabbit-mq/publisher-confirms) [NEW] publisher-confirm-type, ConfirmCallback/ReturnsCallback, mandatory, correlation data, confirms vs transactions. Diagram: sequenceDiagram of confirm and unroutable-return./rabbit-mq/retry-error-handling) [NEW] RetryOperationsInterceptor/RetryTemplate, DefaultErrorHandler, fatal vs non-fatal, exponential backoff, transient vs deterministic. Diagram: flowchart TD retry-then-reject decision tree./rabbit-mq/dead-letter-exchanges) [NEW] QueueBuilder.deadLetterExchange(...), x-death, TTL-based delayed retry queues, parking-lot, reprocessing. Absorbs implementation content from 06-poison-messages-dlq.md (playbook stays as the troubleshooting view, cross-linked). Diagram: flowchart LR main to DLX to DLQ./rabbit-mq/idempotency-duplicates) [NEW] sequenceDiagram of redelivery/dedup./rabbit-mq/connection-recovery) [NEW, concise] addresses for clusters, listener container recovery, graceful shutdown, failover behavior. Diagram: sequenceDiagram of connection drop and recovery./rabbit-mq/event-driven-architecture) [NEW] OrderCreated to Inventory + Notification; choreography vs orchestration; event vs command; event design and schema versioning. Diagram: flowchart TD full topology./rabbit-mq/outbox-saga) [NEW] flowchart outbox; sequenceDiagram saga with compensation./rabbit-mq/streams) [NEW, clearly marked optional] flowchart stream offset/replay./rabbit-mq/security) [NEW] flowchart of auth/permission flow./rabbit-mq/observability) [NEW] flowchart LR metrics/trace pipeline./rabbit-mq/performance) [NEW] flowchart TD tuning decision guide./rabbit-mq/testing) [NEW] flowchart test setup./rabbit-mq/aws-architecture) [KEEP, reframe intro] from 02-aws-architecture.md/rabbit-mq/tooling-walkthrough) [KEEP] from 03-tooling-walkthrough.md/rabbit-mq/alert-playbooks/*) [KEEP] from 04-alert-playbooks//rabbit-mq/hands-on-lab) [KEEP] from 05-hands-on-lab.md/rabbit-mq/escalation-communication) [KEEP] from 06-escalation-communication.md/rabbit-mq/cheat-sheet) [KEEP + augment with dev config keys] from 08-cheat-sheet.md/rabbit-mq/capstone) [NEW] flowchart TD final architecture./rabbit-mq/assessment) [EXPAND of 07] 00-rest-vs-messaging.md, 01-core-concepts.md, 07-assessment.md, index.md.02-aws-architecture.md, 03-tooling-walkthrough.md, all of 04-alert-playbooks/, 05-hands-on-lab.md, 06-escalation-communication.md, 08-cheat-sheet.md._topics/ files into the new 8-section order. Safe because routing uses front-matter permalink and cross-links use permalinks, not filenames../scripts/lint-course-content.sh _courses/rabbit-mq/_topics after generation.On approval we generate files sequentially, one module at a time, each with Mermaid diagram(s), realistic Order/Inventory/Notification code, cross-links, and a checkpoint, updating the nav YAML and index as we go.