dolphin-quartz.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!--
  2. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  3. ~ contributor license agreements. See the NOTICE file distributed with
  4. ~ this work for additional information regarding copyright ownership.
  5. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  6. ~ (the "License"); you may not use this file except in compliance with
  7. ~ the License. You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <configuration>
  18. <property>
  19. <name>org.quartz.scheduler.instanceName</name>
  20. <value>DolphinScheduler</value>
  21. <description></description>
  22. </property>
  23. <property>
  24. <!-- 列举枚举值 -->
  25. <name>org.quartz.scheduler.instanceId</name>
  26. <value>AUTO</value>
  27. <description></description>
  28. </property>
  29. <property>
  30. <name>org.quartz.scheduler.makeSchedulerThreadDaemon</name>
  31. <value>true</value>
  32. <value-attributes>
  33. <type>boolean</type>
  34. </value-attributes>
  35. <description></description>
  36. </property>
  37. <property>
  38. <name>org.quartz.jobStore.useProperties</name>
  39. <value>false</value>
  40. <value-attributes>
  41. <type>boolean</type>
  42. </value-attributes>
  43. <description></description>
  44. </property>
  45. <property>
  46. <name>org.quartz.threadPool.class</name>
  47. <value>org.quartz.simpl.SimpleThreadPool</value>
  48. <description></description>
  49. </property>
  50. <property>
  51. <name>org.quartz.threadPool.makeThreadsDaemons</name>
  52. <value>true</value>
  53. <value-attributes>
  54. <type>boolean</type>
  55. </value-attributes>
  56. <description></description>
  57. </property>
  58. <property>
  59. <name>org.quartz.threadPool.threadCount</name>
  60. <value>25</value>
  61. <value-attributes>
  62. <type>int</type>
  63. </value-attributes>
  64. <description></description>
  65. </property>
  66. <property>
  67. <name>org.quartz.threadPool.threadPriority</name>
  68. <value>5</value>
  69. <value-attributes>
  70. <type>int</type>
  71. </value-attributes>
  72. <description></description>
  73. </property>
  74. <property>
  75. <name>org.quartz.jobStore.class</name>
  76. <value>org.quartz.impl.jdbcjobstore.JobStoreTX</value>
  77. <description></description>
  78. </property>
  79. <property>
  80. <name>org.quartz.jobStore.tablePrefix</name>
  81. <value>QRTZ_</value>
  82. <description></description>
  83. </property>
  84. <property>
  85. <name>org.quartz.jobStore.isClustered</name>
  86. <value>true</value>
  87. <value-attributes>
  88. <type>boolean</type>
  89. </value-attributes>
  90. <description></description>
  91. </property>
  92. <property>
  93. <name>org.quartz.jobStore.misfireThreshold</name>
  94. <value>60000</value>
  95. <value-attributes>
  96. <type>int</type>
  97. </value-attributes>
  98. <description></description>
  99. </property>
  100. <property>
  101. <name>org.quartz.jobStore.clusterCheckinInterval</name>
  102. <value>5000</value>
  103. <value-attributes>
  104. <type>int</type>
  105. </value-attributes>
  106. <description></description>
  107. </property>
  108. <property>
  109. <name>org.quartz.jobStore.acquireTriggersWithinLock</name>
  110. <value>true</value>
  111. <value-attributes>
  112. <type>boolean</type>
  113. </value-attributes>
  114. <description></description>
  115. </property>
  116. <property>
  117. <name>org.quartz.jobStore.dataSource</name>
  118. <value>myDs</value>
  119. <description></description>
  120. </property>
  121. <property>
  122. <name>org.quartz.dataSource.myDs.connectionProvider.class</name>
  123. <value>org.apache.dolphinscheduler.service.quartz.DruidConnectionProvider</value>
  124. <description></description>
  125. </property>
  126. </configuration>