How service registry in spring cloud will know each Instance of micro service up or not? code example
Example: eureka discovery server spring boot example
eureka:
client:
registerWithEureka: false
fetchRegistry: false
server:
port: 8761