# DiscoveryGuide **Repository Path**: nepxion/DiscoveryGuide ## Basic Information - **Project Name**: DiscoveryGuide - **Description**: ☀️ Nepxion Discovery Guide is a guide example for Nepxion Discovery 蓝绿灰度发布、路由、限流、熔断、降级、隔离、追踪、流量染色、故障转移、多活的指南示例 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: 6.x.x-simple - **Homepage**: http://www.nepxion.com - **GVP Project**: No ## Statistics - **Stars**: 97 - **Forks**: 68 - **Created**: 2020-06-28 - **Last Updated**: 2025-06-16 ## Categories & Tags **Categories**: microservice **Tags**: 灰度, 蓝绿, 路由, 隔离, 权重 ## README ![](https://nepxion.github.io/Discovery/docs/discovery-doc/Banner.png) # Discovery【探索】云原生微服务解决方案 ![Total visits](https://visitor-badge.laobi.icu/badge?page_id=Nepxion&title=total%20visits) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?label=license)](https://github.com/Nepxion/Discovery/blob/6.x.x/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/com.nepxion/discovery.svg?label=maven)](https://search.maven.org/artifact/com.nepxion/discovery) [![Javadocs](http://www.javadoc.io/badge/com.nepxion/discovery-plugin-framework-starter.svg)](http://www.javadoc.io/doc/com.nepxion/discovery-plugin-framework-starter) [![Build Status](https://github.com/Nepxion/Discovery/workflows/build/badge.svg)](https://github.com/Nepxion/Discovery/actions) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/5c42eb719ef64def9cad773abd877e8b)](https://www.codacy.com/gh/Nepxion/Discovery/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Nepxion/Discovery&utm_campaign=Badge_Grade) [![Stars](https://img.shields.io/github/stars/Nepxion/Discovery.svg?label=Stars&style=flat&logo=GitHub)](https://github.com/Nepxion/Discovery/stargazers) [![Stars](https://gitee.com/Nepxion/Discovery/badge/star.svg?theme=gvp)](https://gitee.com/Nepxion/Discovery/stargazers) [![Wiki](https://badgen.net/badge/icon/wiki?icon=wiki&label=GitHub)](https://github.com/Nepxion/Discovery/wiki) [![Wiki](https://badgen.net/badge/icon/wiki?icon=wiki&label=Gitee)](https://gitee.com/nepxion/Discovery/wikis/pages?sort_id=3993615&doc_id=1124387) [![Discovery PPT](https://img.shields.io/badge/Discovery%20-ppt-brightgreen?logo=Microsoft%20PowerPoint)](https://nepxion.github.io/Discovery/docs/link-doc/discovery-ppt.html) [![Discovery Page](https://img.shields.io/badge/Discovery%20-page-brightgreen?logo=Microsoft%20Edge)](https://nepxion.github.io/Discovery/) [![Discovery Platform Page](https://img.shields.io/badge/Discovery%20Platform%20-page-brightgreen?logo=Microsoft%20Edge)](https://nepxion.github.io/DiscoveryPlatform) [![Discovery Desktop Page](https://img.shields.io/badge/Discovery%20Desktop%20-page-brightgreen?logo=Microsoft%20Edge)](https://nepxion.github.io/DiscoveryDesktop) [![Polaris Page](https://img.shields.io/badge/Polaris%20-page-brightgreen?logo=Microsoft%20Edge)](https://polaris-paas.github.io/polaris-wiki)             如果您觉得本框架具有一定的参考价值和借鉴意义,请帮忙在页面右上角 [**Star**] ## 入门必读 本文只介绍入门Discovery【探索】最基础的功能和用法,更多资料请参考相关文档 ### 快速上手 [如何快速搭建和运行示例](https://github.com/Nepxion/Discovery/wiki/如何快速搭建和运行示例) ### 解决方案 配置较简单,灵活性不强,适用于DevOps运维能力较弱的公司
[如何执行全链路简单蓝绿发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路简单蓝绿发布)
[如何执行全链路简单灰度发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路简单灰度发布)

配置较复杂,灵活性较强,适用于DevOps运维能力较弱的公司
[如何执行全链路高级蓝绿发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路高级蓝绿发布)
[如何执行全链路高级灰度发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路高级灰度发布)

配置很简单,灵活性较弱,适用于DevOps运维能力较弱的公司
[如何执行全链路无编排高级蓝绿灰度发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路无编排高级蓝绿灰度发布)

界面驱动,配置很简单,灵活性很强,流程化管理,落地成本较高,需自行研发界面整合到DevOps运维系统中,适用于DevOps运维能力较强的公司
[如何执行全链路智能编排高级蓝绿灰度发布](https://github.com/Nepxion/Discovery/wiki/如何执行全链路智能编排高级蓝绿灰度发布)
[如何设计全链路智能编排高级蓝绿灰度发布界面](https://github.com/Nepxion/Discovery/wiki/如何设计全链路智能编排高级蓝绿灰度发布界面) ### 快速集成 [如何快速集成框架](https://github.com/Nepxion/Discovery/wiki/如何快速集成框架) ### 流量染色 通过增加启动参数`-Dmetadata.version=1.0`进行染色
[如何设置元数据标签](https://github.com/Nepxion/Discovery/wiki/如何设置元数据标签)

通过`git-commit-id-plugin`插件代替启动参数进行染色
[如何基于Git插件自动创建版本号](https://github.com/Nepxion/Discovery/wiki/如何基于Git插件自动创建版本号)

通过截取统一规范的服务名前缀进行组染色
[如何基于服务名前缀自动创建组名](https://github.com/Nepxion/Discovery/wiki/如何基于服务名前缀自动创建组名) ### 故障定位 开启Debug模式,通过增加启动参数`-Dstrategy.debug=true`启动所有的网关和服务
[如何解决蓝绿灰度发布失效问题](https://github.com/Nepxion/Discovery/wiki/如何解决蓝绿灰度发布失效问题) ### 异步探针 开启异步探针,通过增加启动参数`-javaagent:C:/opt/discovery-agent/discovery-agent-starter-1.3.0.jar`启动所有的网关和服务,`C:/opt`需要变更为具体使用场景下的目录。Spring Cloud 2020及以上版本必须引入异步探针
[如何在异步场景下使用探针Agent](https://github.com/Nepxion/Discovery/wiki/如何在异步场景下使用探针Agent) ### 自动化测试 开发环境和测试环境下的全方位自动化测试
[如何执行全链路自动化模拟流程测试](https://github.com/Nepxion/Discovery/wiki/如何执行全链路自动化模拟流程测试)

生产环境下的自动化测试
[如何执行全链路自动化流量侦测测试](https://github.com/Nepxion/Discovery/wiki/如何执行全链路自动化流量侦测测试) ## 请联系我 微信、钉钉、公众号和文档 ![](https://nepxion.github.io/Discovery/docs/contact-doc/wechat-1.jpg)![](https://nepxion.github.io/Discovery/docs/contact-doc/dingding-1.jpg)![](https://nepxion.github.io/Discovery/docs/contact-doc/gongzhonghao-1.jpg)![](https://nepxion.github.io/Discovery/docs/contact-doc/document-1.jpg) ## Star走势图 [![Stargazers over time](https://starchart.cc/Nepxion/Discovery.svg)](https://starchart.cc/Nepxion/Discovery)