grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.
https://grpc-ecosystem.github.io/grpc-spring/
Apache License 2.0
3.54k stars 830 forks source link

Enabling with compression flag on blockingStub #950

Open pc-psankaranarayanan opened 1 year ago

pc-psankaranarayanan commented 1 year ago

The current 2.14.0-release version internally uses java-grpc 1.51.0. I understand there 2.15.0 release under works right now that upgrades 1.57.2. I am specifically interested in withCompression flag for blocking stub, the method is annotated as experimental in grpc-java 1.51.0. The API is no longer experimental in the latest release of 1.57.2.

What do you wish to achieve?

Can we use blockingStub.withCompression method in 2.14.0-release. Is there any code change in underlying grpc-java for enabling compression in 1.57.2 from 1.51.0. Do we have to wait for 2.15.0 release to use this feature.

pc-psankaranarayanan commented 1 year ago

@ST-DDT Any help?

ST-DDT commented 1 year ago

You could use a configurer bean to set the options globally.

Please don't ping me.