Outline
29 chapters across 9 parts, both stacks against one AsyncAPI 3 contract.
OverviewPrerequisites
A shipping and cargo handling-event feed (container moves, customs holds, delivery confirmations), pushed over WebSockets to any client watching a booking instead of making that client poll the sibling REST booking service. Every hands-on chapter builds the same example in both Quarkus WebSockets Next and Python (FastAPI/Starlette plus the native websockets library) against one AsyncAPI 3 contract. The full arc is below.
Part 0: Prerequisites
Part 1: Foundations
Part 2: Contract-first for Sockets
Part 3: Building It
- 8. Quarkus WebSockets Next
- 9. Python native WebSockets
- 10. Clients: reconnect and backpressure
- 11. Polyglot: one contract, two stacks
Part 4: Production Concerns
- 12. Backpressure and flow control
- 13. Error handling
- 14. Liveness and heartbeats
- 15. Reconnect: stateless
- 16. Reconnect: Kafka-backed
- 17. Security
- 18. Scale-out and fan-out