Apache ShenYu: Java native API Gateway for service proxy, protocol conversion and API governance (8.9k stars)
What it does
All text below is quoted directly from the project README.
>Apache ShenYu is a Java-based gateway for service proxying, protocol conversion, and API governance. An extensible plugin chain processes requests, while ShenYu Admin manages and distributes configuration to gateway replicas.
Core Capabilities:
- Plugin routing and extensions: An ordered plugin chain for HTTP requests, with selector and rule matching where applicable. Spring Boot starters select plugins; custom Java plugins, SPI implementations, and WASM plugin APIs extend the gateway.
- Protocols and upstreams: HTTP and Spring Cloud services, WebSocket connections, and Apache Dubbo and gRPC backends. Optional TCP and MQTT listeners provide additional ingress; SOFA and Tars gateway plugins are available as external plugin-store starters.
- Registration and discovery: Client SDKs register service addresses and API metadata with Admin. Registry integrations support discovery; an optional Kubernetes controller reconciles Ingress and Endpoints resources.
- Security and traffic control: WAF, signing, authentication plugins, load balancing, rate limiting, and fault tolerance through Resilience4j and Sentinel; deprecated Hystrix remains available as an external plugin.
- Caching and transformation: In-memory or Redis-backed response caching, URL rewriting, redirection, and request/response transformation.
- Dynamic configuration: Admin persists plugins, selectors, rules, metadata, and authentication data. WebSocket sync is the default; HTTP long polling, ZooKeeper, Nacos, and etcd are available.
- Observability: Metrics and logging plugins, including Kafka and Elasticsearch destinations; email and DingTalk alerts from Admin.
- AI and MCP: AI proxy, prompt processing, token limits, sensitive-word filtering, AI request/response transformation, and an MCP server plugin with SSE and Streamable HTTP.
>Use Docker and OpenSSL to start ShenYu Admin, a gateway, and an example HTTP service. Run the commands below in the same shell.
Repository
apache/shenyu
Repository stats
|Metric|Value|
|:-|:-|
|Stars|8,895|
|Forks|3,098|
|Last release|v2.7.1 (2026-07-08)|
|Languages|Java 97.3%, Shell 1%, PLSQL 0.6%|
|Contributors|473|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|Copilot: 17, claude: 22|
|AI co-authored commits|Claude: 24, Cursor: 2, Copilot: 17|
Main contributor
|Field|Value|
|:-|:-|
|Name|xiaoyu|
|GitHub|@yu199195|
|Commits to this repo|844 (top contributor)|
|Company / Location|@Dromara @apache / beijing|
|Website|dromara.org|
|X / Twitter|@yu199195|
|Followers|1739|
|Public repos|83|
|On GitHub since|2014-11-11|
──────────────────────────────
📌 How many great GitHub repos have you discovered and completely forgotten about?
Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week.
📬 Never lose track of great repos again. Subscribe free.
2 points
Mentions
Apache ShenYu: Java native API Gateway for service proxy, protocol conversion and API governance (8.9k stars) What it does All text below is quoted directly from the project README. >Apache ShenYu is a Java-based gateway for service proxying, protocol conversion, and API governance. An extensible plugin chain processes requests, while ShenYu Admin manages and distributes configuration to gateway replicas. Core Capabilities: - Plugin routing and extensions: An ordered plugin chain for HTTP requests, with selector and rule matching where applicable. Spring Boot starters select plugins; custom Java plugins, SPI implementations, and WASM plugin APIs extend the gateway. - Protocols and upstreams: HTTP and Spring Cloud services, WebSocket connections, and Apache Dubbo and gRPC backends. Optional TCP and MQTT listeners provide additional ingress; SOFA and Tars gateway plugins are available as external plugin-store starters. - Registration and discovery: Client SDKs register service addresses and API metadata with Admin. Registry integrations support discovery; an optional Kubernetes controller reconciles Ingress and Endpoints resources. - Security and traffic control: WAF, signing, authentication plugins, load balancing, rate limiting, and fault tolerance through Resilience4j and Sentinel; deprecated Hystrix remains available as an external plugin. - Caching and transformation: In-memory or Redis-backed response caching, URL rewriting, redirection, and request/response transformation. - Dynamic configuration: Admin persists plugins, selectors, rules, metadata, and authentication data. WebSocket sync is the default; HTTP long polling, ZooKeeper, Nacos, and etcd are available. - Observability: Metrics and logging plugins, including Kafka and Elasticsearch destinations; email and DingTalk alerts from Admin. - AI and MCP: AI proxy, prompt processing, token limits, sensitive-word filtering, AI request/response transformation, and an MCP server plugin with SSE and Streamable HTTP. >Use Docker and OpenSSL to start ShenYu Admin, a gateway, and an example HTTP service. Run the commands below in the same shell. Repository apache/shenyu Repository stats |Metric|Value| |:-|:-| |Stars|8,895| |Forks|3,098| |Last release|v2.7.1 (2026-07-08)| |Languages|Java 97.3%, Shell 1%, PLSQL 0.6%| |Contributors|473| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|Copilot: 17, claude: 22| |AI co-authored commits|Claude: 24, Cursor: 2, Copilot: 17| Main contributor |Field|Value| |:-|:-| |Name|xiaoyu| |GitHub|@yu199195| |Commits to this repo|844 (top contributor)| |Company / Location|@Dromara @apache / beijing| |Website|dromara.org| |X / Twitter|@yu199195| |Followers|1739| |Public repos|83| |On GitHub since|2014-11-11| ────────────────────────────── 📌 How many great GitHub repos have you discovered and completely forgotten about? Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week. 📬 Never lose track of great repos again. Subscribe free.