Ability to register only management service
Hi,
I would like to have feature to be able only register management service in consul. I have service based on spring-cloud-stream that does not expose any business REST endpoint, only /actuator is exposed. In that case it would be fine to have registered only management service in consul. Currently there is always registered two services app and app-management
I have setup application to expose only one port and set spring.resources.add-mappings: false to disable default endpoints.
See https://github.com/spring-projects/spring-boot/issues/12927 for original issue.
Not that I know of. What is the problem if there are no rest endpoints?
In fact, there is no problem with that. It would be just nice to have. Currently we do not have any use case for that. I think we may close it.
It's not a common scenario, so let's see what kind of voting we get.
Not that I know of. What is the problem if there are no rest endpoints?
Main problem is around the threads overhead it adds by creating separate embedded webserver instance. (even in the optimized configuration)
@JigarJoshi if one of the boot issues goes thru, we can then do something here.