Skip to content

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

Merged
lhotari merged 2 commits into
apache:masterfrom
lhotari:lh-pulsar-admin-accept-gzip
Apr 12, 2024
Merged

[feat][admin] Enable Gzip Compression by Default in Admin Client#22464
lhotari merged 2 commits into
apache:masterfrom
lhotari:lh-pulsar-admin-accept-gzip

Conversation

@lhotari

@lhotari lhotari commented Apr 9, 2024

Copy link
Copy Markdown
Member

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

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm

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