socket-hub is the realtime ingress layer for client room interactions.
- Socket.IO connection handling
- Room auth and room-bound posting constraints
- Dispatch forwarding and worker result fanout
- Optional Kafka publish/consume integration
- Main app/events:
socket-hub/app/main.py - Room auth/state:
socket-hub/app/sockets/manager.py - API routes:
socket-hub/app/api/routes.py
- FastAPI + python-socketio
- Redis
- aiokafka
docs/system-overview.mddocs/request-lifecycle.mddocs/interfaces-and-contracts.mddocs/testing-and-validation.md
Last verified against code: February 13, 2026