Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingJobType = errors.New("jobType is a required attribute")
Functions ¶
This section is empty.
Types ¶
type ZeebeJobWorker ¶
type ZeebeJobWorker struct {
// contains filtered or unexported fields
}
ZeebeJobWorker allows handling jobs from the Zeebe command engine
func NewZeebeJobWorker ¶
func NewZeebeJobWorker(logger logger.Logger) *ZeebeJobWorker
NewZeebeJobWorker returns a new ZeebeJobWorker instance
func (*ZeebeJobWorker) Init ¶
func (z *ZeebeJobWorker) Init(metadata bindings.Metadata) error
Init does metadata parsing and connection creation
func (*ZeebeJobWorker) Read ¶
func (z *ZeebeJobWorker) Read(handler func(*bindings.ReadResponse) ([]byte, error)) error
Click to show internal directories.
Click to hide internal directories.