shenyu
Apache ShenYu is a Java native API Gateway for service proxy, protocol conversion and API governance.
💡 Why It Matters
This Java-based API gateway targets teams needing protocol conversion and API governance across diverse backend services including HTTP, gRPC, Dubbo, and Spring Cloud. Its plugin chain architecture supports detailed routing, transformation, traffic control, and security, with extensibility via custom Java, SPI, and WASM plugins. Admin manages configurations centrally and distributes them dynamically via WebSocket or alternative registries like ZooKeeper and Nacos. Observability hooks into Kafka and Elasticsearch, and it even includes AI proxy features uncommon in gateways. With nearly 9,000 stars and a last commit in late 2026, it is mature and stable though growth is slow. Backend engineers and platform teams benefit most, especially when integrating heterogeneous protocols. It is less suitable if you want a lightweight, minimal gateway or prefer a Go-based solution like Kong or Traefik, which may offer simpler deployment and ecosystem integration for HTTP-focused services.
🎯 When to Use
Choose this gateway when you need a Java-native solution that handles multiple protocols including Dubbo and gRPC with fine-grained plugin control and centralized governance. Consider Kong or Traefik instead if your environment is primarily HTTP/REST and you want a more lightweight or container-native gateway with broader community plugins.
👥 Team Fit & Use Cases
Commonly deployed in microservice architectures that require API protocol bridging and governance across Spring Cloud, Dubbo, and gRPC backends. It fits teams operating in Java ecosystems needing centralized API management, dynamic configuration, and integration with service registries like Kubernetes or Nacos.
🎭 Best For
🏷️ Topics & Ecosystem
📊 Activity
Latest commit: 2026-11-23. Over the past 372 days, this repository gained 207 stars (+2.4% growth). Activity data is based on daily RepoPi snapshots of the GitHub repository.