Elastic-job 遇到 Registering Quartz shutdown hook.:
配置註冊中心:
ZookeeperRegistryCenter zk = new ZookeeperRegistryCenter(new ZookeeperConfiguration(serverList, namespace))
問題來源:服務配置Elastic-job定時任務, 且多個服務namespace命名空間一樣, 同時開啓服務導致出錯
問題原因:配置ZookeeperConfiguration時,相同命名空間的Elastic-job定時任務不能在同一服務器有多個服務
解決: 多服務配置不同的namespace