Open laglangyue opened 5 months ago
@raboof I saw your comments from the PR of history in akka-grpc,WDYT ?
Seems like it is the same issue https://github.com/grpc/grpc-java/issues/8542?
Seems like it is the same issue grpc/grpc-java#8542?
thanks, let me see
Seems like it is the same issue grpc/grpc-java#8542?
If I am reading this correctly this appears to be a non issue creating by a misunderstanding, i.e. Message-Accept-Encoding
should list all of the compression schemes that you support, not the ones that is being used right now.
I think the limitation identified here was the fact that we currently do not provide a way for the client to prevent the server from compressing the responses. This could be interesting to allow when making requests from low-powered machines, where you might be happy to spend a bit more bandwidth if it means spending less CPU time decompressing.
No idea why it was added as a 'FIXME' rather than a regular feature request, though - in retrospect it seems rather niche.
I agree that this is not a major issue. If someone wants to add a config setting that allows users to disable compression support then that is nice to have
Thanks for all. I only started reading the PR related to grpc-Java.
Yes, aggre that it is a Feature, not FXIME.
GRPC-Java already support APIs for registering compression methods
https://github.com/grpc/grpc-java/issues/1704
https://github.com/grpc/grpc-java/pull/9942
I have been interested in FIXME of GRPC.
So I want to talk about : (1)Gzip should be the default, or only use Identity? (2)
supportedCodecs
can be configured by reference?In my opinion, according to the comments, gzip is not the default value for the client. Users can modify the supported codecs through the conf file