Overview
October 15, 2023 · View on GitHub
This article introduces the plugin ecosystem of tRPC.
Maturity classification
In terms of maturity, tRPC plugins are currently divided into the following 4 levels:
| Maturity | Description |
|---|---|
| stable | Already used on a large scale |
| on trial | It has been tested and has been used in certain businesses |
| tested | It has been tested and has not been used in business yet. |
| archived | Archived, no longer maintained, and not recommended for use |
Plugin ecosystem in each language
The plugin types of tRPC mainly include codec, filter, naming, config, metrics, tracing, logging, telemetry, etc.
tRPC-Cpp plugin ecosystem
| Type | Plugin | Maturity | Doc |
|---|---|---|---|
| Codec | HTTP | stable | link |
| Codec | gRPC | stable | link |
| Serialiazation | Protobuf | stable | link |
| Serialiazation | JSON | stable | link |
| Serialiazation | text | stable | link |
| Serialiazation | binary | stable | link |
| Compressor | Gzip | stable | link |
| Compressor | lz4 | stable | link |
| Compressor | Snappy | stable | link |
| Compressor | zlib | stable | link |
| naming | MeshPolaris | tested | link |
| config | etcd | tested | link |
| metrics | Prometheus | stable | link |
| tracing | Jaeger | stable | link |
| logging | CLS | stable | link |
| telemetry | OpenTelemetry | stable | link |
tRPC-Go plugin ecosystem
| Type | Plugin | Maturity | Doc |
|---|---|---|---|
| Codec | HTTP | stable | link |
| Codec | gRPC | stable | link |
| naming | MeshPolaris | tested | link |
| config | etcd | tested | link |
| metrics | Prometheus | stable | link |
| tracing | Jaeger | stable | link |
| logging | CLS | stable | link |
| telemetry | OpenTelemetry | stable | link |
| filter | debuglog | stable | link |
| filter | degrade | stable | link |
| filter | filterextensions | stable | link |
| filter | hystrix | stable | link |
| filter | jwt | stable | link |
| filter | masking | stable | link |
| filter | mock(client mock) | stable | link |
| filter | recover ) | stable | link |
| filter | referer | stable | link |
| filter | slime | stable | link |
| filter | transinfo-blocker | stable | link |
| filter | tvar | stable | link |
| filter | validation | stable | link |