Back to Catalog
Integration
System Management
Detour
Temporarily reroute messages through additional processing — switch it on, switch it off.
Intent & Description
Real-world Use Case
Production debugging — a subtle bug appears in order processing. Without a code change, Ops enables a Detour via the Control Bus that routes all orders through a detailed-logging service capturing full message state at each step. Bug diagnosed, Detour disabled — zero pipeline changes made.
Source
📌 TL;DR
Detour = a toggleable side trip for your messages. Enable it to route through extra processing, disable to skip. Great for runtime debugging and temporary logic injection without pipeline changes.
Advantages
- Add and remove processing steps at runtime without pipeline redeployment
- Useful for debugging, A/B testing processing logic, temporary enrichment
- Non-destructive — main flow is unaffected when Detour is disabled
- Toggle via Control Bus for operational flexibility
Disadvantages
- Adds routing complexity and a conditional processing hop
- When enabled — adds latency for every message going through it
- Detour component itself must be maintained
- Easy to forget to disable after the temporary need has passed