# microservice-servicecomb **Repository Path**: zhanglei-code/microservice-servicecomb ## Basic Information - **Project Name**: microservice-servicecomb - **Description**: 华为生态微服务开发框架ServiceComb、注册中心ServiceCenter、网关Zuul整合demo。 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-08-10 - **Last Updated**: 2021-08-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # microservice-servicecomb #### 介绍 华为生态微服务开发框架ServiceComb、注册中心ServiceCenter、网关Zuul整合demo。 ServiceComb官网:http://servicecomb.apache.org/cn/。 2018年10月24日, Apache软件基金会宣布[Apache ServiceComb ](https://blogs.apache.org/foundation/entry/the-apache-software-foundation-announces41)毕业成为Apache顶级项目。 ServiceComb目前拥有三个主要的子项目,分别为: [Java chassis](https://github.com/apache/servicecomb-java-chassis) 开箱即用Java语言微服务SDK,含服务契约、编程模型、运行模型与通信模型四个部分,具备负载均衡、容错熔断、限流降级、调用链追踪等全面微服务治理能力,服务治理能力与业务逻辑隔离。 [Service Center](https://github.com/apache/servicecomb-service-center)(服务注册中心) 基于Etcd的高性能、高可用、无状态的Golang版分布式服务注册与发现中心,可实时服务实例注册、实时服务实例推送和服务间契约测试等。 [Saga](https://github.com/apache/servicecomb-saga)(分布式事务解决方案) ServiceComb Saga是提供了分布式事务最终一致性解决方案,用户只需要通过注解方式定义事务的执行方法以及撤销方法,Saga框架会自动保证分布式事务执行的最终一致性。 #### 软件架构 JDK 1.8 SpringBoot 1.5.12.RELEASE JavaChassis 1.1.0 ServiceCenter 1.2.0 #### 安装教程 1. 注册中心下载:http://servicecomb.apache.org/cn/release/ 2. 开启远程访问:apache-servicecomb-service-center-1.2.0-windows-amd64\conf\app.conf ~~~shell ################################################################### # Frontend Configurations ################################################################### frontend_host_ip = 192.168.1.118 frontend_host_port = 30103 ################################################################### # sever options ################################################################### # if you want to listen at ipv6 address, then set the httpaddr value like: # httpaddr = 2400:A480:AAAA:200::159 (global scope) # httpaddr = fe80::f816:3eff:fe17:c38b%eth0 (link-local scope) httpaddr = 192.168.1.118 httpport = 30100 ~~~ 3. 注册中心启动: ![image-20210810081553596](images/image-20210810081553596.png) 4. 注册中心访问: ![image-20210810081903250](images/image-20210810081903250.png) #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)