new feathure Add GZIP support for large message
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 2.7.7
* Operating System version: windows10
* Java version: 14
We sometimes has very large data to retrieve from dubbo service, in order to reduce the transportation cost, please add a feathure to compress the message.
suggested:
1. dubbo.protocol.gzip.enabled=true, to enable the compress function.
2. dubbo.protocol.gzip.payload=1M, messages larger than 1M bytes will be compressed.
Reference:
https://github.com/lshm/dubbo-gzip/blob/master/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/exchange/codec/ExchangeCodec.java
Contributor guide
Assessment
This issue has not been assessed yet.