jobworker

package
v1.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingJobType = errors.New("jobType is a required attribute")

Functions

func NewZeebeJobWorker

func NewZeebeJobWorker(logger logger.Logger) bindings.InputBinding

NewZeebeJobWorker returns a new ZeebeJobWorker instance.

Types

type ZeebeJobWorker

type ZeebeJobWorker struct {
	// contains filtered or unexported fields
}

ZeebeJobWorker allows handling jobs from the Zeebe command engine.

func (*ZeebeJobWorker) Close added in v1.11.0

func (z *ZeebeJobWorker) Close() error

func (*ZeebeJobWorker) GetComponentMetadata added in v1.11.0

func (z *ZeebeJobWorker) GetComponentMetadata() map[string]string

GetComponentMetadata returns the metadata of the component.

func (*ZeebeJobWorker) Init

func (z *ZeebeJobWorker) Init(ctx context.Context, metadata bindings.Metadata) error

Init does metadata parsing and connection creation.

func (*ZeebeJobWorker) Read

func (z *ZeebeJobWorker) Read(ctx context.Context, handler bindings.Handler) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL