-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add @ZeebeWorker(timeout = 1000) timeout #93
Comments
Hi @cristianbriscaru , thanks for taking the time to report that issue. Currently the job timeout cannot be configured per worker via annotation. However, we will add the missing attributes on the annotation. Until then it may be a workaround for you (or maybe even better 😃 ) to configure the timeout globally for all workers, see Is that an option for you? |
Hi @tobiasschaefer , The workaround should be fine for now (we usually have a worker per microservice) but having the per worker via annotation configuration would be awesome. Thank you |
…(and some more properties) per worker.
…(and some more properties) per worker.
Hi @cristianbriscaru , Release v1.6.0 now supports the "timeout" property on the ZeebeWorker annotation. Note that you don't simply pass in a value in milliseconds but a string like "PT15M" which makes it less error prone. See all currently supported annotation properties here: https://github.com/camunda-community-hub/micronaut-zeebe-client#zeebeworker-annotation Does this solve your issue? |
How to add @ZeebeWorker(timeout = 1000) timeout ?
It looks like zeebe java client supports this: https://docs.camunda.io/docs/apis-clients/java-client-examples/job-worker-open/#jobworkercreatorjava
Thank you
The text was updated successfully, but these errors were encountered: