-
Notifications
You must be signed in to change notification settings - Fork 5
Extensions
Kronos enables custom implementations of its pluggable components.
- Task Definition Reader
- Task Handler
- Message Bus
- Task Store
The user needs to download the release package and add it to development environment (IDE) during the custom implementation. The following components are available for user implementation.
A task definition reader is used to provide a custom source of task definitions.
Implementing a custom task definition reader is as simple as implementing TaskDefinitionReader interface. To configure a custom task definition reader check this link.
A handler is used to execute the submitted task.
Implementing a custom task handler is as simple as implementing TaskHandler interface. To configure a custom task handler check this link.
A message bus is used to exchange message between the scheduler and executor.
Implementing a custom message require used to implement Producer.java and Consumer.java interface for the task and task status queue. To configure a custom message bus check this link.
A task store is used to keep the current state of the tasks.
Implementing a custom task store is as simple as implementing TaskStore interface. To configure a custom task store check this link.
Custom policies can be defined to apply to the task in case of timeout.
Implementing a custom timeout policy is as simple as implementing TimeoutPolicy interface. To configure a custom timeout policy check this link.