My application is using spring 4.0.0. I'm trying to write a scheduler in a distributed system. My application is working on multiple servers and my database is also running at multiple servers.
I'm trying to achieve: My scheduler will run on one server only.
I tried two approaches:
Profiling: Make a different profile and deploy it in any server.
But I don't want a different-different profile for different-different servers.
Shedlock
Shedlock does not support spring 4xx version.
Kindly suggest a better approach
You can use old version of ShedLock https://github.com/lukas-krecan/ShedLock/issues/299