Zero-conf constructor. The entire ZBClient connection config can be passed in via the environment.
Zero-conf constructor. The entire ZBClient connection config can be passed in via the environment.
If this.retry is set true, the operation will be wrapped in an configurable retry on exceptions of gRPC error code 14 - Transient Network Failure. See: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md If this.retry is false, it will be executed with no retry, and the application should handle the exception.
A gRPC command operation
This function takes a gRPC operation that returns a Promise as a function, and invokes it. If the operation throws gRPC error 14, this function will continue to try it until it succeeds or retries are exhausted.
A gRPC command operation that may fail if the broker is not available
Generated using TypeDoc
A client for interacting with a Zeebe broker. With the connection credentials set in the environment, you can use a "zero-conf" constructor with no arguments.