{"id":15133027,"url":"https://github.com/sermant-io/sermant","last_synced_at":"2025-12-11T21:00:17.935Z","repository":{"id":37049536,"uuid":"403802153","full_name":"sermant-io/Sermant","owner":"sermant-io","description":"CNCF Sandbox project: A Cloud-Native Proxyless Service Mesh based on Java Bytecode Enhancement Technology","archived":false,"fork":false,"pushed_at":"2025-08-04T03:04:50.000Z","size":43560,"stargazers_count":1363,"open_issues_count":23,"forks_count":185,"subscribers_count":43,"default_branch":"develop","last_synced_at":"2025-08-14T09:57:53.518Z","etag":null,"topics":["cloud-native","cncf","dubbo","javaagent","microservice-architecture","sermant","service-mesh","springcloud"],"latest_commit_sha":null,"homepage":"https://sermant.io/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sermant-io.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"RoadMap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-07T01:22:41.000Z","updated_at":"2025-08-13T11:23:11.000Z","dependencies_parsed_at":"2023-02-19T07:35:43.654Z","dependency_job_id":"4d3436c3-249e-42c3-8d7c-3990fadc862f","html_url":"https://github.com/sermant-io/Sermant","commit_stats":null,"previous_names":["sermant-io/sermant","huaweicloud/sermant"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/sermant-io/Sermant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sermant-io%2FSermant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sermant-io%2FSermant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sermant-io%2FSermant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sermant-io%2FSermant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sermant-io","download_url":"https://codeload.github.com/sermant-io/Sermant/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sermant-io%2FSermant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27670136,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-native","cncf","dubbo","javaagent","microservice-architecture","sermant","service-mesh","springcloud"],"created_at":"2024-09-26T04:43:21.761Z","updated_at":"2025-12-11T21:00:16.533Z","avatar_url":"https://github.com/sermant-io.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp\u003e\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\n\u003cp\u003e\n    \u003cimg  src=\"docs/binary-docs/sermant-logo.png\" width=\"50%\" syt height=\"50%\"\u003e\n\u003c/p\u003e\n\u003ch1\u003e基于JavaAgent的无代理服务网格解决方案\u003c/h1\u003e\n\n\n[简体中文](README-zh.md) | [English](README.md)\n\n[![CNCF Landscape](https://img.shields.io/badge/CNCF%20Landscape-5699C6)](https://landscape.cncf.io/?item=orchestration-management--service-mesh--sermant)\n[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![CI/IT Tests](https://github.com/sermant-io/Sermant/workflows/CI/badge.svg?branch=develop)](https://github.com/sermant-io/Sermant/actions?query=workflow:CI:push%20branch:develop)\n[![codecov](https://codecov.io/gh/sermant-io/Sermant/develop/graph/badge.svg)](https://codecov.io/gh/sermant-io/Sermant)\n\n\u003c/div\u003e\n\n## Sermant\n\n**Sermant**（也称之为Java-mesh）是基于Java字节码增强技术的无代理服务网格，其利用Java字节码增强技术为宿主应用程序提供服务治理功能，以解决大规模微服务体系结构中的服务治理问题。\n\nSermant的愿景还包括构建插件开发生态系统，以帮助开发人员更容易地开发服务治理功能，同时不干扰业务代码。\n\n\u003cimg src=\"docs/binary-docs/cncf-color.png\" alt=\"pic\" width=\"40%\" /\u003e\n\nSermant是云原生计算基金会（CNCF）的沙盒项目。如果您是一个希望在支持云原生生态系统的增长和发展方面发挥积极作用的组织，请考虑加入CNCF。\n\n![pic](docs/binary-docs/sermant-product-arch.png)\n\nSermant架构描述如上，Sermant中JavaAgent包含两层功能。\n\n- 框架核心层。核心层提供Sermant的基本框架功能，以简化插件开发。该层的功能包括心跳、数据传输、动态配置等。\n- 插件服务层。插件为宿主应用提供实际的治理服务。开发者可以直接利用框架核心服务开发简单插件，也可以开发插件自身的复杂服务治理功能来开发复杂插件。\n\nSermant中的JavaAgent广泛采用类隔离技术，以消除框架代码、插件代码和宿主应用程序代码之间的类加载冲突。\n\n使用Sermant的微服务架构具有以下三个组件，如下图所示。\n\n![pic](docs/binary-docs/sermant-rt-arch.png)\n\n- Sermant JavaAgent：动态地为宿主应用程序提供服务治理能力。\n- Sermant Backend：为JavaAgent的上传数据提供连接和预处理服务。\n- Dynamic configuration center：通过动态更新监听的JavaAgent的配置来提供指令。Sermant项目不直接提供动态配置中心。这些项目目前支持servicecomb-kie等。\n\n## 快速开始\n\n下面是一个简单的演示，新用户只需4个步骤即可使用Sermant\n\n### 准备工作\n\n- [下载](https://github.com/sermant-io/Sermant/releases/download/v2.0.0/sermant-2.0.0.tar.gz) Sermant Release包（当前版本推荐2.0.0）\n- [下载](https://github.com/sermant-io/Sermant-examples/releases/download/v2.0.0/sermant-examples-flowcontrol-demo-2.0.0.tar.gz) Demo二进制产物压缩包\n- [下载](https://zookeeper.apache.org/releases#download) 并启动zookeeper\n\n### 获取Demo二进制产物\n解压Demo二进制产物压缩包，即可得到spring-provider.jar。\n\n### 修改Sermant配置\n\n修改`${path}/sermant-agent-x.x.x/agent/config/config.properties`文件中`agent.service.heartbeat.enable`和`agent.service.gateway.enable`配置为true，以此来开启Sermant的心跳服务和网关服务，如下所示：\n\n```properties\nagent.service.heartbeat.enable=true\nagent.service.gateway.enable=true\n```\n\n\u003e 说明：path为Sermant包下载所在路径\n\n### 启动Sermant Backend\n\n在`${path}/sermant-agent-x.x.x/server/sermant`目录执行以下命令：\n\n```shell\njava -jar sermant-backend-x.x.x.jar\n```\n\n\u003e 说明：path为Sermant包下载所在路径\n\n### 启动Demo应用\n\n在spring-provider.jar文件所在目录下执行以下命令：\n\n```shell\n# linux mac\njava -javaagent:${path}/sermant-agent-x.x.x/agent/sermant-agent.jar -jar spring-provider.jar\n\n# windows\njava -javaagent:${path}\\sermant-agent-x.x.x\\agent\\sermant-agent.jar -jar spring-provider.jar\n```\n\n\u003e 说明：path为Sermant包下载所在路径\n\n### 验证\n\n打开浏览器并导航到URL`http://localhost:8900`，如下图所示：\n\n\n![pic](docs/binary-docs/backend_sermant_info.png)\n\n## License\n\nSermant 采用 [Apache 2.0 License.](/LICENSE)\n\n## 贡献指南\n\n请阅读 [贡献指南](CONTRIBUTING.md) 以了解如何贡献项目。\n\n## 会议\n[Sermant社区兴趣讨论会会议纪要](https://docs.google.com/document/d/11Ln1MzOil0JjkM8SEeaJPukumIFyM_eG_u9WMQyke4c/edit)\n\n## 更多文档\n\n[Sermant官网](https://sermant.io) | [RoadMap](RoadMap.md) | [Membership](community-membership.md)\n\n## 联系我们\n\n* [邮件列表](https://groups.google.com/forum/#!forum/sermant)\n* [Slack](https://cloud-native.slack.com/archives/C06VDFQUA7N) | [Join](https://slack.cncf.io/)\n* 微信交流群：请先申请Sermant小二为好友，通过后会拉您进群，申请时请备注公司+职务。\n\n![pic](docs/binary-docs/contact-wechat.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsermant-io%2Fsermant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsermant-io%2Fsermant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsermant-io%2Fsermant/lists"}