What would you like to happen?
I noticed requests from Dataflow were using a lot of bandwidth compared to our other similar traffic, and one of the reasons is that it's not using any compression on requests. When running in the cloud there's various charges on network traffic that add up. Enabling compression should help there.
Compression of requests was enabled in ES client 7.10 elastic/elasticsearch#63230, it's currently using 7.9 so need to bump the version and use setCompressionEnabled.
There's a CPU tradeoff so it should be possible to configure. In my opinion it should default to use compression, responses are already compressed, most other clients I see use compression by default as well.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components
What would you like to happen?
I noticed requests from Dataflow were using a lot of bandwidth compared to our other similar traffic, and one of the reasons is that it's not using any compression on requests. When running in the cloud there's various charges on network traffic that add up. Enabling compression should help there.
Compression of requests was enabled in ES client 7.10 elastic/elasticsearch#63230, it's currently using 7.9 so need to bump the version and use
setCompressionEnabled.There's a CPU tradeoff so it should be possible to configure. In my opinion it should default to use compression, responses are already compressed, most other clients I see use compression by default as well.
Issue Priority
Priority: 2 (default / most feature requests should be filed as P2)
Issue Components