SHRegistry
server:
port: 27000
eureka:
instance:
hostname: bj-registry.com
client:
fetch-registry: false
service-url:
defaultZone: http://sh-registry.com:27010/eureka
BJRegistry
server:
port: 27010
eureka:
instance:
hostname: sh-registry.com
client:
fetch-registry: false
service-url:
defaultZone: http://bj-registry.com:27000/eureka
Client
eureka:
client:
service-url:
defaultZone: http://bj-registry.com:27000/eureka,http://sh-registry.com:27000/eureka
注册中心成功