Skip to content

Instantly share code, notes, and snippets.

@avvero
Last active September 26, 2018 10:52
Show Gist options
  • Save avvero/4ed140ad7b5744d8dc11fa2f84f7978e to your computer and use it in GitHub Desktop.
Save avvero/4ed140ad7b5744d8dc11fa2f84f7978e to your computer and use it in GitHub Desktop.
#quartz #cluster #configuration
#============================================================================
# Configure Main Scheduler Properties
#============================================================================
org.quartz.scheduler.instanceName = ODPS_Scheduler
org.quartz.scheduler.instanceId = AUTO
#============================================================================
# Configure ThreadPool
#============================================================================
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 25
org.quartz.threadPool.threadPriority = 5
#============================================================================
# Configure JobStore
#============================================================================
#org.quartz.jobStore.useProperties = true
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
org.quartz.jobStore.isClustered = true
org.quartz.jobStore.tablePrefix = odps.QRTZ_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment