OptionalCAMUNDA_OptionalconnectionIf your Grpc connection jitters, this is the window before the connectionError
OptionalcustomProvide an annotated Dto class to control the serialisation of JSON numbers. This allows you to serialise numbers as strings or BigInts to avoid precision loss. This also gives you design-time type safety.
OptionaldebugEnable debug tracking
OptionalfailIf a handler throws an unhandled exception, if this is set true, the process will be failed. Defaults to false.
OptionalfetchConstrain payload to these keys only.
OptionalidA custom id for the worker. If none is supplied, a UUID will be generated.
OptionalinputProvide an annotated Dto class to control the serialisation of JSON numbers. This allows you to serialise numbers as strings or BigInts to avoid precision loss. This also gives you design-time type safety.
OptionalloglevelA log level if you want it to differ from the ZBClient
OptionallogOptionallongA custom longpoll timeout. By default long polling is every 30 seconds.
OptionalmaxMax concurrent tasks for this worker. Default 32.
OptionalonThis handler is called when the worker cannot connect to the broker, or loses its connection.
OptionalonThis handler is called when the worker cannot connect to the broker, or loses its connection.
OptionalonThis handler is called when the worker (re)establishes its connection to the broker
OptionalpollPoll Interval in ms. Default 100.
OptionalstdoutAn implementation of the ZBCustomLogger interface for logging
A job handler - this must return a job action - e.g.: job.complete(), job.error() - in all code paths.
The task type that this worker will request jobs for.
OptionaltenantAn optional array of tenantIds if you want this to be a multi-tenant worker.
OptionaltimeoutMax seconds to allow before time out of a job given to this worker. Default: 30s. The broker checks deadline timeouts every 30 seconds, so an
Maximum backoff time in milliseconds