Simple implementation of Cluster Leadership Election using redis lock
Using Spring-Boot and Redis only
Almost all examples of Leadership Election using Spring Boot go to Spring Cloud Cluster in Hazelcast (now deprecated) and Zookeeper(overpower in simple cases), and that's kinda strange, since Redis can use Set Lock to create an almost trivial Leadership Election. That's why I did it.
Java 8
Maven
Redis