Quarkus Shedlock
Propose a set of shedlock provider as extensions
| Each provider is autonomous and can be used in conjunction with others. |
Configuration
Each provider come with specific configuration regarding lock storage.
The lock duration configuration is common for each provider and there values are overridable on the interceptor annotation.
The lockAtMostFor and lockAtLeastFor can be defined. You can have a look to shedlock documentation to know more about them.
The quarkus.shedlock.defaults-lock-at-most-for application property is mandatory.
quarkus.shedlock.defaults-lock-at-most-for=PT30S
Extension Configuration Reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
how long the lock should be kept in case the executing node dies Environment variable: |
string |
required |
value which is much longer than normal execution time Environment variable: |
string |