Back to Catalog
Integration
System Management
Smart Proxy
Intercept messages transparently to add cross-cutting functionality — security, logging, throttling.
Intent & Description
Real-world Use Case
Partner API rate limiting — partner systems publish to an orders channel. Smart Proxy intercepts, checks partner quota (rate limit), logs the message with partner ID, and forwards to the real orders processing channel only if within quota. Neither the partner system nor the order processor knows the proxy exists.
Source
📌 TL;DR
Smart Proxy = transparent middleware in the message path. Add auth, rate limiting, or logging without touching producers or consumers. Must be fast — it is on the hot path for every message.
Advantages
- Add cross-cutting concerns without modifying producers or consumers
- Transparent to both ends — they see the same channel interface
- Centralizes cross-cutting logic (auth, rate limiting, logging) in one place
- Can be added to existing flows without redeployment of connected components
Disadvantages
- Proxy is in the critical message path — must be fast and HA
- Adds latency for every message
- Proxy logic bugs affect all messages flowing through it
- Cross-cutting concerns in the proxy can become over-complicated