chenweida %!s(int64=7) %!d(string=hai) anos
pai
achega
8b315f79a1
Modificáronse 1 ficheiros con 11 adicións e 2 borrados
  1. 11 2
      application.yml

+ 11 - 2
application.yml

@ -28,8 +28,17 @@ eureka:
    ##instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
    instance-id: ${spring.cloud.client.ipAddress}:${server.port}
    leaseRenewalIntervalInSeconds: 30 ##心跳时间 默认30秒 一般不修改
## 配置服务动态刷新
#spring:
#  cloud:
#    stream:
#      kafka:
#        binder:
#          brokers: 172.17.110.201:9092
#          zkNodes: 172.17.110.201:2181
#    bus:
#      trace:
#        enabled: true