Google Cloud Pub/Sub
GCP Pub/Sub isolation is achieved by having each sandboxed consumer create its own subscription. This ensures the sandboxed consumer receives a copy of all messages published to the topic. The consumer then filters messages based on a routing key in the message attributes, processing only those intended for its sandbox or RouteGroup.
Alternatively, use ResourcePlugins to create sandbox-specific topics if needed.
Resources
Summary
- Each sandboxed consumer creates its own subscription to receive all messages.
- Use message attributes for routing key propagation.
- Consumers filter messages by attribute.
- Optionally, create sandbox-specific topics/subscriptions.