https://github.com/trpc-group/trpc-java
A pluggable, high-performance RPC framework written in java
https://github.com/trpc-group/trpc-java
Last synced: about 2 months ago
JSON representation
A pluggable, high-performance RPC framework written in java
- Host: GitHub
- URL: https://github.com/trpc-group/trpc-java
- Owner: trpc-group
- License: other
- Created: 2023-10-19T10:54:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-27T08:10:11.000Z (about 2 months ago)
- Last Synced: 2026-01-27T20:25:37.895Z (about 2 months ago)
- Language: Java
- Homepage:
- Size: 4.32 MB
- Stars: 92
- Watchers: 7
- Forks: 44
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
- awesome-java - tRPC
README
English | [中文](README.zh_CN.md)
# tRPC-Java Framework
[](https://github.com/trpc-group/trpc-java/blob/master/LICENSE)
[](https://github.com/trpc-group/trpc-java/releases)
[](https://github.com/trpc-group/trpc-java/tree/master/docs/)
[](https://codecov.io/gh/trpc-group/trpc-java)
tRPC-Java, as the Java language implementation of [tRPC](https://github.com/trpc-group/trpc), is a
battle-tested microservices framework that has been extensively validated in production
environments. It not only delivers high performance but also offers ease of use and testability.
For more information, please refer to the [related documentation](#related-documentation).
## Overall Architecture

tRPC-Java has the following features:
- Works across languages
- Support multi-protocols
- Streaming RPC
- Rich plugin ecosystem
- Scalability
- Load balance
- Flow & Overload control
- Support coroutine
## Tutorial
### Dependency environment
JDK 1.8.0_251+, Maven 3.6.3+
> Please compile tRPC-Java through `mvn -Dmaven.test.skip=true clean install`. If you want to run unit tests, you need to use JDK 8.
### Import dependencies
```pom
com.tencent.trpc
trpc-mini
1.0.0
```
#### Use coroutine
It is recommended to use [Tencent Kona JDK FIBER 8](https://github.com/Tencent/TencentKona-8). For
usage examples,
see [coroutine](https://github.com/trpc-group/trpc-java-examples/tree/master/trpc-coroutine)
Related Documentation
- [Quick start](/docs/en/1.quick_start.md)
- [Basic tutorial](/docs/en/2.basic_tutorial.md)
- [Stub code generation tool](/docs/en/3.protobuf_stub_plugin.md)
- [Configuration parameters](/docs/en/4.configuration.md)
- [More examples](https://github.com/trpc-group/trpc-java-examples)
## How to Contribute
If you're interested in contributing, please take a look at
the [contribution guidelines](CONTRIBUTING.md) and check
the [unassigned issues](https://github.com/trpc-group/trpc-java/issues) in the repository. Claim a
task and let's contribute together to tRPC-Java.
## LICENSE
tRPC-Java is licensed under the [Apache License Version 2.0](LICENSE).