如何創建Eureka高可用服務

1、首先建立Eureka服務 一種是properties文件,一種是yml文件,兩種文件格式都支持多種配置(profiles)。 2、配置yml server : port : 8761 spring : profiles: peer1// eureka : instance : hostname : localhost client : serviceUrl: defaultZone: http
相關文章
相關標籤/搜索