Groups
Groups
Sign in
Groups
Groups
grpc.io
Conversations
About
Send feedback
Help
gRPC C++ compression interface support
42 views
Skip to first unread message
Andrew Liang
unread,
Jan 13, 2021, 12:59:45 AM
1/13/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
}
```
github link:
https://github.com/grpc/grpc-go/blob/master/encoding/encoding.go
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 PM
1/13/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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