Class JobStreamEndpoint
java.lang.Object
io.camunda.zeebe.shared.management.JobStreamEndpoint
An actuator endpoint which allows viewing the current registered streams. Here
remote
refers to RemoteStream instances registered on the
broker, and client refers to all ClientStream instances registered on the
gateway.
If running a broker with an embedded gateway, both can be viewed; otherwise, one or the other will always be empty.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordView model of a client job stream for JSON serialization.static final recordView model for the combined list of all remote and client job streams.static final recordView model for theJobActivationPropertiesof a job stream.static final recordView model of a single remote job stream for JSON serializationstatic final recordView model for a remote job stream IDstatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.endpoint.web.WebEndpointResponse<JobStreamEndpoint.JobStreams>list()Returns the complete list of remote and client job streams as an object with two keys:remoteandclient.org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<?>Returns either the list ofclientorremotejob streams, based on the giventype.
-
Constructor Details
-
Method Details
-
list
@ReadOperation public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<JobStreamEndpoint.JobStreams> list()Returns the complete list of remote and client job streams as an object with two keys:remoteandclient. Both are collections of the job streams of the appropriate type.This view is mostly used for human debugging to quickly correlate the state of a stream on the gateway and brokers.
-
list
@ReadOperation public org.springframework.boot.actuate.endpoint.web.WebEndpointResponse<?> list(@Selector String type) Returns either the list ofclientorremotejob streams, based on the giventype. If the type is unknown, returns a 400 with a singleton map containing an error field with an appropriate message.- Parameters:
type- the type of streams to return
-