GithubHelp home page GithubHelp logo

basenacos's Introduction

#Spring Cloud Alibaba Naco方案微服务架构Demo

启动

  1. 启动nacos添加配置 Data ID:api-gateway.yaml Group:XIAOWEI_MICROSERVICE_GROUP
    zuul:
      routes:
        application1:
          stripPrefix: false
          path: /application1/**
  2. 依次启动
    Service2Bootstrap.class 
    Service1Bootstrap.class 
    ApiGatewayBootstrap.class 
    ApplicationRun.class 
  3. 访问http://127.0.0.1:8000/application1/service 出现 application-1|test|service1-server | Consumer Invoke | service2-server | Provider Invoke 运行正常

架构

  • Nacos 配置、注册中心
  • Feign 消费服务调用
  • Dubbo RPC远程服务调用
  • Zuul 网关

其他

因为Spring Cloud 与Spring Boot 版本冲突问题总是存在。有时候可能会浪费大量时间调试maven、版本冲突关系。 所以本项目为初学党制作一套规范,开箱就用。

重要: 如果依赖有问题,请手动前往**仓库下载依赖!!!! 【非常重要】

basenacos's People

Watchers

James Cloos 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.