新增spring cloud用例

This commit is contained in:
罗祥
2019-01-14 17:59:46 +08:00
parent af81084ac0
commit 0004596d6f
54 changed files with 1373 additions and 0 deletions

View File

@ -0,0 +1,11 @@
server:
port: 8020
# 指定服务命名
spring:
application:
name: producer
# 指定注册中心地址
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8010/eureka/