SchedulerConfig
data class SchedulerConfig(val threadCount: Int, val workers: Int, val channelCapacity: Int, val pollFrequency: Long, val partitions: List<Int>, val executionBufferInMilli: Long, val metricsEnabled: Boolean, val repoConfig: RepoConfig, val locksConfig: LocksConfig, val queueConfig: QueueConfig)
Configuration class for the scheduler.
Constructors
Link copied to clipboard
constructor(threadCount: Int, workers: Int, channelCapacity: Int, pollFrequency: Long, partitions: List<Int>, executionBufferInMilli: Long, metricsEnabled: Boolean, repoConfig: RepoConfig, locksConfig: LocksConfig, queueConfig: QueueConfig)
Properties
Link copied to clipboard
The capacity of the task channel.
Link copied to clipboard
The buffer time in milliseconds while fetching a task to be executed.
Link copied to clipboard
The configuration for the locks.
Link copied to clipboard
Whether metrics are enabled.
Link copied to clipboard
The list of partitions from which to poll from.
Link copied to clipboard
The frequency at which tasks are polled.
Link copied to clipboard
The configuration for the queue.
Link copied to clipboard
The configuration for the repository.
Link copied to clipboard
The number of threads to be used by the scheduler.