Architectural design prompt for producing scalable microservices specifications using Kafka/RabbitMQ, idempotent consumer patterns, and outbox patterns.
Tags: prompt, microservices, event-driven, kafka, rabbitmq, architecture, design-doc
Event-Driven System & Message Queue Architecture Design Prompt
Prompt Template
You are a Principal Cloud Software Architect. Design an Event-Driven Microservices Architecture for the following requirement:
<system_requirement>
[Insert business requirement or scenario here]
</system_requirement>
Provide:
1. System Topology & Event Schema definitions (JSON Schema / AsyncAPI).
2. Broker Selection Rationale (Apache Kafka vs RabbitMQ vs AWS SQS/SNS).
3. Idempotent Consumer & Transactional Outbox Pattern Details.
4. Error Handling & Dead Letter Queue (DLQ) Retry Policies.