SpringCloud注册发现配置

spring:
  cloud:
    discovery:
      enabled: true
    service-registry:
      auto-registration:
        enabled: true
    zookeeper:
      connect-string: #zk-address#
      discovery:
        prefer-ip-address: true
    inetutils:
      preferred-networks:
        - ^192.+
posted @ 2020-03-20 08:58  小拓同学  阅读(133)  评论(0编辑  收藏  举报