Google-cloud-java: Enable compression for pubsub library

Created on 21 Feb 2017  路  5Comments  路  Source: googleapis/google-cloud-java

As a customer I would like to have communication compressed from pubsub client to pubsub service.

This allows saving on network bandwidth when running it from other Cloud providers for example.

pubsub

Most helpful comment

The lack of this functionality does really hurt now that Google Cloud started charging for inter region pubsub egress network usage.

All 5 comments

Fixed in #1645 ; it will be included in the next release.

Given that https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1645 appears to have been reverted, I was wondering whether this should be reopened.

Thanks!

Seeing that it was a year ago someone asked about this, I'd like to bring this issue up again:
We would like to use compression at the Pub/Sub level to avoid doing it at application level.

The pull request and this issue mentions nothing to motivate why it was reverted.
If there is a good reason for not allowing compression it would be nice if you could explain why.

Adding this for posterity. the revert commit says grpc doesn't support compression yet.

Compression is not fully supported in gRPC, can't have it in the library
yet.

The lack of this functionality does really hurt now that Google Cloud started charging for inter region pubsub egress network usage.

Was this page helpful?
0 / 5 - 0 ratings