zoukankan      html  css  js  c++  java
  • Spring Cloud Dalston.SR5 BUG一记

    使用Dalston.SR5版本的Zuul时,

    发现Ribbon重试不能切换服务实例,

    换成Edgware.SR3,同样的配置可以切换实例进行重试

    还有个不升级所有Spring Cloud组件的方法,仅仅升级zuul的版本,在zuul的pom中增加以下内容以升级,亲测可行:

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>Edgware.SR3</version><!--Dalston.SR5 Edgware.SR3-->
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    不得不说Spring Cloud的BUG真多,而且配置经常变动

    或许是配置变化了,但是我始终没找到

    按照这上边的配置,没用
    http://cloud.spring.io/spring-cloud-static/Dalston.SR5/single/spring-cloud.html

  • 相关阅读:
    sudo命令 sudoers文件
    sscanf函数
    printf格式化输出
    c文件操作
    string和char*
    c去除空格 小写转大写
    主机序和网络序转换
    ulimit用法
    mysql基础(附具体操作代码)
    ES6 class
  • 原文地址:https://www.cnblogs.com/flying607/p/9187095.html
Copyright © 2011-2022 走看看