ON-PREM CHOREO CLOUD BOTH

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)

Used by (3)

  • receives telemetry from billing-service
    subscription.activated
    CloudEvents
  • 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 failed
    NATS 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 it
    NATS subject for environment-created

Inside and around

Part of: cloud-cp (cloud control plane)