Class JobStreamEndpoint

java.lang.Object
io.camunda.zeebe.shared.management.JobStreamEndpoint

@Component @WebEndpoint(id="jobstreams") public final class JobStreamEndpoint extends Object
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.

  • 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: remote and client. 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 of client or remote job streams, based on the given type. 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