Component ยท Shared or other
NATS JetStream WSO2CLOUDEVENTS
CHOREO CLOUD Component Choreo Cloud service
What it is
NATS JetStream is the message bus of Choreo Cloud. A stream named WSO2CLOUDEVENTS carries CloudEvents about organization lifecycle and subscriptions, such as an organization being suspended or a subscription becoming active.
Why it exists
Many services must react to the same business events without calling each other directly.
How it works
- Runs in the namespace cloud-system on cloud-cp, as a three-node cluster.
- Services such as platform-api, billing, the orchestrator, AMS and the provisioner consume events from the stream.
- Billing publishes subscription.activated, which can trigger the provisioner.
- AMS can use organization events to suspend or restore an organization's deployments.
Key facts
- Stream
- WSO2CLOUDEVENTS
- Namespace
- cloud-system
- Port
- 4222
- Edition
- Choreo Cloud
Talks to (3)
- sends telemetry to agent-platform AMS shell Org lifecycle suspend/activate consumerNATS JetStream CloudEvents
- sends telemetry to agent-manager-provisioner First-sign-in triggerNATS subscription.activated
- sends telemetry to agent-manager-service (SaaS deployment) Organization lifecycle events reach Agent Manager through a durable JetStream consumer where it is switched onNATS JetStream stream WSO2CLOUDEVENTS
Used by (3)
- receives telemetry from billing-service subscription.activatedCloudEvents
- receives telemetry from identity-platform-provisioner The provisioner publishes provision applied once the objects are applied, then done when the identity data plane is Ready, or failedNATS subject wso2cloud.core.provision.done
- receives telemetry from platform-api (PAS) After OpenChoreo creates an Environment, platform-api announces it on NATS together with the decision of who provisions itNATS subject for environment-created
Inside and around
Part of: cloud-cp (cloud control plane)