Replies: 1 comment
|
TL;DR- doesn't feel like a critical feature, but we'd be happy to accept a PR Nice idea, and I can relate to the memory bloat issue, though haven't really seen people complain about this specific scenario. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In the single-topic multi-tenant architecture, all OPAL clients subscribed to a topic receive all data updates, even if they only need a subset.
Use case: Service mesh deployment where each sidecar OPA serves a single tenant.
This leads to:
Proposed Solution
Add a client-side configuration option to filter data entries by dst_path prefix:
Behavior:
Example:
Implementation Sketch
In
opal_client/data/updater.py, add filtering after topic matching:Benefits
Alternatives Considered
Additional Context
This came up while evaluating single-topic multi-tenant for a deployment with two modes:
The single-topic pattern is perfect for the gateway, but causes unnecessary data bloat for service mesh sidecars.
All reactions