Redis Publisher/Subscriber example
- Local Or Docker install (select only one)
docker run -d --name redis -p 6379:6379 redis:4.0.1
redis-cli subscribe ch1
redis-cli publish ch1 "hey everybody"
./gradlew clean build && java -jar build/libs/pubSub-0.0.1-SNAPSHOT.jar