[][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.

JobClient
JobHandler
JobInternal
JobWorker

A worker will activate zeebe jobs and us the job handler to process those jobs concurrently.

Partition

Describes a partition on a broker.

PublishMessage

A message for publishing an event on zeebe.

Reporter
Topology

The topology 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. WorkflowVersion::Latest is translated to -1.