Giter Site home page Giter Site logo

cloud_demo's Introduction

cloud_demo

spring cloud 集成含有 spring cloud gateway,sentinel,nacos服务发现/配置

大致流程,开启Nacos服务 -> 开启sentinel dashboard控制台 -> 开启网关服务 -> 开启消费者1-> 服务提供者1

sentinel 控制台

默认8080端口,便于观察接入sentinel的服务(包含网关、自己业务的微服务等)的请求情况、设置降级甚至熔断等策略,官方推荐500台一下服务可以采用控制台的方式,方便简单得对url资源进行操作

spring cloud gateway

简称 gateway,本实例占用端口 9090。nacos 配合gateway可以自动进行服务转发,比如访问 http://localhost:9090/client-consumer1/echo?string=hello ,就可以访问nacos中注册服务名为client-consumer1的echo接口

cloud_demo's People

Contributors

songjiang951130 avatar

Watchers

 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.