Is there a way to disable spring-boot eureka client registration based on the spring profile?
Currently I use the following annotations:
@Configurati
With the latest version of Spring boot, Please add this in the bootstrap.yml file
Spring cloud version : Edgeware: SR3 and above
spring: application: name: test cloud: service-registry: auto-registration: enabled: false
This will disable eureka. To enable it, we just need to make enabled as true