Skip to main content
Version: 2.14

Domain Leader Elected

New domain leader elected.

Subscription Subject​

$JS.EVENT.ADVISORY.DOMAIN.LEADER_ELECTED

The subject has no domain token. When configured, the domain name appears in the domain field of the event; otherwise, the field is omitted.

Event Schema​

An Advisory sent when a meta leader is elected

typeconst: "io.nats.jetstream.advisory.v1.domain_leader_elected"required
idstringrequired
Unique correlation ID for this event
timestampstringrequired
The time this event was created in RFC3339 format
leaderstringrequired
The server name of the elected leader
replicasobjectrequired
clusterstringrequired
The cluster holding the leader
domainstring
The domain the leader is in