zoukankan      html  css  js  c++  java
  • Eureka 高可用

    spring:
      profiles: eureka1
    server:
      port: 8001
    eureka:
      instance:
        hostname: eureka1
      client:
        serviceUrl:
          defaultZone: http://eureka2:8002/eureka/
        register-with-eureka: false
        fetch-registry: false
    
    ---
    spring:
      profiles: eureka2
    server:
      port: 8002
    eureka:
      instance:
        hostname: eureka2
      client:
        serviceUrl:
          defaultZone: http://eureka1:8001/eureka/
        register-with-eureka: false
        fetch-registry: false
    

      

    register-with-eureka: false
    fetch-registry: false
    不要忘了加!!!
  • 相关阅读:
    newgrp
    netstat
    netlink, PF_NETLINK
    netdevice
    mv
    mplayer
    mpg123
    MOVE
    motd
    more
  • 原文地址:https://www.cnblogs.com/hfultrastrong/p/8547186.html
Copyright © 2011-2022 走看看