Consumer Action
Consumer lifecycle events.
Subscription Subject
$JS.EVENT.ADVISORY.CONSUMER.CREATED.{stream}.{consumer}
$JS.EVENT.ADVISORY.CONSUMER.DELETED.{stream}.{consumer}
Where:
{stream}is the stream name{consumer}is the consumer name
Event Schema
An Advisory sent when a Consumer is created or deleted
typeconst: "io.nats.jetstream.advisory.v1.consumer_action"required
idstringrequired
Unique correlation ID for this event
timestampstringrequired
The time this event was created in RFC3339 format
actionstringrequired
The action that the event describes
Allowed values:
createdeletestreamstringrequired
The name of the Stream that the Consumer belongs to
consumerstring
The name of the Consumer that's acted on
domainstring
The domain of the JetStream server the event is from