如何创建Eureka高可用服务

1、首先建立Eureka服务 一种是properties文件,一种是yml文件,两种文件格式都支持多种配置(profiles)。 2、配置yml server : port : 8761 spring : profiles: peer1// eureka : instance : hostname : localhost client : serviceUrl: defaultZone: http
相关文章
相关标签/搜索