This project demonstrates issue described in GH-1429
- Java 11 installed
- JAVA_HOME configured
- Run Hazelcast
./runHazel.sh
Hazelcast will be available on http://localhost:5701.
Shutdown hook is listening on http://localhost:8082/shutdown but you can just kill the app with CTRL + C.
- Run Spring Boot Admin
./runAdmin.sh
The application is avaliable on http://localhost:8080
- Run Spring Boot Admin Client
./runClient.sh
The application is avaliable on http://localhost:8081
To deregister it from SBA call GET http://localhost:8081/deregister
To register again call GET http://localhost:8081/register
- Run all the applications as described above.
- Notice how on Spring Boot Admin's dashboard (http://localhost:8080) registered application has status UNKNOWN
- Deregister client via GET http://localhost:8081/deregister
- Observe logs of SBA