The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#) https://grpc.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
722 B

8 years ago
# Documentation
grift is integration of [Apache Thrift](https://github.com/apache/thrift.git) Serializer with gRPC.
This integration allows you to use grpc to send thrift messages in C++ and java.
8 years ago
grift uses Compact Protocol to serialize thrift messages.
8 years ago
## generating grpc plugins for thrift services
8 years ago
8 years ago
### C++
8 years ago
```sh
$ thrift --gen cpp <thrift-file>
```
8 years ago
### Java
8 years ago
```sh
$ thrift --gen java <thrift-file>
```
8 years ago
# Installation
8 years ago
Before Installing thrift make sure to apply this [patch](grpc_plugins_generator.patch) to third_party/thrift.
Go to third_party/thrift and follow the [INSTALLATION](https://github.com/apache/thrift.git) instructions to install thrift with commit id bcad91771b7f0bff28a1cac1981d7ef2b9bcef3c.