Điểm qua apache/shenyu: 8.9k sao trên GitHub, viết chủ yếu bằng Java. Apache ShenYu is a Java native API Gateway for service proxy, protocol conversion and API governance.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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
Area
What ShenYu provides
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 (see plugin-store-hystrix).
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. Apollo remains available during its deprecation release and is planned to move to an external extension (see Apollo migration). Consul sync is available as an external extension (see plugin-store-consul). Gateway replicas apply updates to their local caches.
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.
Architecture
Get Started
Start with the English documentation, 中文文档, or the official downloads.
Docker quick start
Use Docker and OpenSSL to start ShenYu Admin, a gateway, and an example HTTP service. Run the commands below in the same shell.
Admin listens on http://localhost:9095; the gateway listens on http://localhost:9195. Wait for both services to start, then check their health endpoints:
This request updates only this gateway instance; it does not write the route to Admin. For centrally managed, durable routes, configure them in Admin with a persistent database instead of the default in-memory H2 database.
SOFA and Tars support is no longer bundled in the default gateway distribution. To run those protocols, install the matching plugin-store starter in the gateway classpath and keep using the existing Admin metadata, client registration SDKs, and examples for protocol configuration.
Verify the route
curl -i http://localhost:9195/index.html
The response should contain the NGINX welcome page served through ShenYu.
Why Apache ShenYu?
ShenYu (神禹) is an honorific name for Xia Yu, an ancient Chinese ruler also known as Da Yu. He is remembered for crossing the Yellow River three times for the benefit of the people and successfully controlling its floods. Alongside Yao and Shun, he is regarded as one of ancient China's three greatest kings.
The name reflects three ideas:
It promotes the traditional virtues of Chinese civilization.
It echoes a gateway's central role in governing traffic.
It expresses the community's commitment to being fair, just, open, and meritocratic, in tribute to ShenYu and in keeping with the Apache Way.
Community and Support
Contribute to ShenYu
Windows checkout and long-path troubleshooting
Split Java client migration and contribution guide
Join the development mailing list
Known Users
The Known Users page lists registered users in registration order.
Organizations using Apache ShenYu are welcome to register through GitHub issue #68. Registration is for open source users only.
Star History
License
Apache ShenYu is licensed under the Apache License, Version 2.0.
apache/shenyu có 8.9k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/apache/shenyu. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
apache/shenyu có những chủ đề gì?
GitHub topics của apache/shenyu: "api-gateway", "dubbo-proxy", "grpc-proxy", "http-proxy", "reactor-java", "sofa-proxy", "spring-cloud-proxy". TopGit xếp repo vào nhóm mã nguồn mở.
apache/shenyu có trang demo không?
Dự án có trang chủ ở https://shenyu.apache.org/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
apache/shenyu còn đang phát triển không?
Commit gần nhất trên apache/shenyu là 3 tháng trước (theo timestamp GitHub). Repo có 3.1k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
apache/shenyu dùng license gì?
apache/shenyu phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
apache/shenyu viết bằng ngôn ngữ gì?
apache/shenyu chủ yếu viết bằng Java. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về apache/shenyu ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/apache/shenyu là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
shenyu có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về shenyu.