jobworker

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

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

func (z *ZeebeJobWorker) Close() error

func (*ZeebeJobWorker) GetComponentMetadata

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