GithubHelp home page GithubHelp logo

springcloud's Introduction

TODO

  • 实践registry的高可用
  • API公共类
  • 为服务docker化
  • String Stream 支持
  • AuthServer
  • mybatis支持
  • gatling
  • ELK-logstash
  • 打包方式
  • bootRun/bootRepackage
  • liuquibase支持
  • 数据库连接池的使用
  • Swagger配置化

Done

  • eureka-server和config,zuul的合并生成registery
  • 增加lombok支持
  • 增加mapstruct支持
  • gradle 支持不同的profile-Dprod
  • 提供registry的dev,test,prod配置
  • spring-jpa
  • registry 的zuul的容错性配置(超时设置)
  • zuul的容错和回退
  • swagger
  • feign的retry
  • feign的hystrix

registry

idea

  • import
  • Enable annotation processing

notes

  • @ActiveProfiles/@Profile
  • swagger codegen暂时不用

eureka配置

server

eureka:
  server:
    enable-self-preservation: false           # 关闭自我保护模式(缺省为打开)
    eviction-interval-timer-in-ms: 5000       # 续期时间,即扫描失效服务的间隔时间(缺省为60*1000ms)

client

eureka:
  instance:
    lease-renewal-interval-in-seconds: 5      # 心跳时间,即服务续约间隔时间(缺省为30s)
    lease-expiration-duration-in-seconds: 10  # 发呆时间,即服务续约到期时间(缺省为90s)
  client:
    healthcheck:
      enabled: true                           # 开启健康检查(依赖spring-boot-starter-actuator)

zuul

eureka:
  client:
    registry-fetch-interval-seconds: 5 # 默认为30秒

springcloud's People

Contributors

marvinren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.