石英集群调度程序中的触发器 API 是否触发同一本地机器或集群中任何机器中的作业?
Does trigger API in quartz clustered scheduler triggers job in the same local machine or any machine in the cluster?
当我在集群设置中触发 Quartz 中的作业时,该作业是仅在同一台机器上触发,还是在集群设置中的任何机器上触发?
关于 Clustering 的 Quartz 文档说(强调我的):
Only one node will fire the job for each firing. For example, if the job has a repeating trigger that tells it to fire every 10 seconds, then at 12:00:00 exactly one node will run the job, and at 12:00:10 exactly one node will run the job, etc. It won't necessarily be the same node each time - it will more or less be random which node runs it. The load balancing mechanism is near-random for busy schedulers (lots of triggers) but favors the same node that just was just active for non-busy (e.g. one or two triggers) schedulers.
基本上,一旦作业被安排到 运行,此信息就会写入数据库。集群中的任何节点都可以从此数据库和 运行 作业中读取。
当我在集群设置中触发 Quartz 中的作业时,该作业是仅在同一台机器上触发,还是在集群设置中的任何机器上触发?
关于 Clustering 的 Quartz 文档说(强调我的):
Only one node will fire the job for each firing. For example, if the job has a repeating trigger that tells it to fire every 10 seconds, then at 12:00:00 exactly one node will run the job, and at 12:00:10 exactly one node will run the job, etc. It won't necessarily be the same node each time - it will more or less be random which node runs it. The load balancing mechanism is near-random for busy schedulers (lots of triggers) but favors the same node that just was just active for non-busy (e.g. one or two triggers) schedulers.
基本上,一旦作业被安排到 运行,此信息就会写入数据库。集群中的任何节点都可以从此数据库和 运行 作业中读取。