chuntaojun / trpc-java

A pluggable, high-performance RPC framework written in java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 中文

tRPC-Java Framework

LICENSE Releases Docs Coverage

tRPC-Java, as the Java language implementation of 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.

Overall Architecture

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

<dependencies>
    <dependency>
        <groupId>com.tencent.trpc</groupId>
        <artifactId>trpc-mini</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>

Use coroutine

It is recommended to use Tencent Kona JDK FIBER 8. For usage examples, see coroutine

Related Documentation

How to Contribute

If you're interested in contributing, please take a look at the contribution guidelines and check the unassigned 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.

About

A pluggable, high-performance RPC framework written in java

License:Other


Languages

Language:Java 99.8%Language:Smarty 0.2%Language:Shell 0.0%