How to configure Spring Cloud Consul not to unblock on shutdown

I have a microservice that automatically registers with Consul using Spring Cloud , however, when the service shuts down, it unregisters, which means the warning we configured with Prometheus starts once and then automatically resolves. How to disable this feature so that the service remains registered unless manually removed.

+3


source to share





All Articles