Broker Selection - Middle¶
flowchart TD
Need{Primary need}
Need -->|long replay and analytics| Kafka
Need -->|rich routing and work queues| RabbitMQ
Need -->|simple low-latency messaging| JetStream
Build one adapter contract and run identical payload, producer, consumer, acknowledgement, replication, and failure tests. Record throughput, p50/p99, redelivery, ordering, recovery time, and operator effort. Test yourself¶
- What must the common adapter expose?
- Why test slow consumers?
- Which guarantees cannot one generic API hide? Continue to
senior.md.