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

[fix][io] CompressionEnabled didn't work on elasticsearch sink #22565

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

shibd
Copy link
Member

@shibd shibd commented Apr 23, 2024

Motivation

We observed that the traffic passing through the es-sink was amplified by 8 times, and it didn't work even if enable compression.

The root cause is here configure response compression not request. Refer to this discuss.

Modifications

  • Set compression for request.

Verifying this change

Before this change:
image

After this change:
image

Documentation

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

Matching PR in forked repository

PR in forked repository:

@shibd shibd self-assigned this Apr 23, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 23, 2024
@Technoboy- Technoboy- added this to the 3.3.0 milestone Apr 24, 2024
Copy link
Contributor

@nicoloboschi nicoloboschi left a comment

Choose a reason for hiding this comment

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

+1
Nice catch!

@nicoloboschi nicoloboschi merged commit a3cd1f8 into apache:master Apr 24, 2024
54 of 55 checks passed
shibd added a commit that referenced this pull request Apr 24, 2024
shibd added a commit that referenced this pull request Apr 24, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 13, 2024
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants