[−][src]Crate zeebest
An unofficial zeebe client.
This crate contains a client for interacting with a zeebe cluster. The Client
contract contains
standard methods for interacting with the cluster like topology
and create_workflow_intstance
.
It also supplies a worker for smartly running a job handler function and reporting the results
to the zeebe gateway.
Structs
ActivateJobs | An object used to activate jobs on the broker. |
ActivatedJob | Describes an activate zeebe job. Use this to do work and respond with completion or failure. |
ActivatedJobs | Batched up activated jobs. Each batch corresponds to the jobs in a zeebe partition. |
BrokerInfo | Describes a zeebe broker. |
Client | The primary type for interacting with zeebe. |
CompleteJob | A message for completing a zeebe job. |
CreatedWorkflowInstance | Describes a workflow that was instantiated on zeebe. |
DeployedWorkflows | Describes a collection of deployed workflows. |
JobWorker | A worker will activate and process jobs with a job handler function. The job worker has a maximum number of concurrent jobs that is controlled by an atomic, consistent counter. When a job handler returns, the job worker will respond to the gateway with the correct response (complete or fail). The job worker can be configured with a panic option, so that it knows if to fail the job or do nothing if the handler panics. |
Partition | Describes a partition on a broker. |
PublishMessage | A message for publishing an event on zeebe. |
Topology | The toplogy of the zeebe cluster. |
Workflow | Describes a workflow deployed on zeebe. |
WorkflowInstance | Describes a workflow to instantiate. |
Enums
BrokerRole | Is this broker a leader or not? |
Error | |
JobResult | A result that describes the output of a job. |
PanicOption | An option that describes what the job worker should do if if the job handler panics. |
WorkflowVersion | Strongly type the version. |