gRPC C++ compression interface support

42 views
Skip to first unread message

Andrew Liang

unread,
Jan 13, 2021, 12:59:45 AM1/13/21
to grpc.io
Hi,

grpc-go support registers the compressor with gRPC by its name as following:

```
func RegisterCompressor(c Compressor) {
    registeredCompressor[c.Name()] = c
}
``` 


How to register my customize a compressor like grpc-go when using c++ ?

Thank you all.

Lidi Zheng

unread,
Jan 13, 2021, 1:04:22 PM1/13/21
to grpc.io
See https://groups.google.com/g/grpc-io/c/048jQeimZMo.

All available compression algorithm can be found at https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/compression_types.h. Currently there is no way to customize compression algorithm for gRPC C++.
Reply all
Reply to author
Forward
0 new messages