Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat][admin] Enable Gzip Compression by Default in Admin Client #22464

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Apr 9, 2024

Motivation

Gzip compression can reduce the amount of bytes transferred in the Pulsar Admin API.
The broker-side support for Gzip compression was added as part of #21667.
This PR adds support for Gzip compression to the Pulsar Admin Java client.

Modifications

  • By default, include "Accept-Encoding: gzip" header in HTTP requests
  • Support for controlling whether the header is added or not

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

- By default, include "Accept-Encoding: gzip" header in HTTP requests
- Support for controlling whether the header is added or not
@lhotari lhotari added this to the 3.3.0 milestone Apr 9, 2024
@lhotari lhotari self-assigned this Apr 9, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 9, 2024
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@lhotari lhotari merged commit 7984cc2 into apache:master Apr 12, 2024
47 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/admin doc-not-needed Your PR changes do not impact docs ready-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants