Skip to content

Conversation

BrandonArp
Copy link
Member

No description provided.

@BrandonArp
Copy link
Member Author

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enables optional GZIP compression for HTTP POST sinks. The changes include adding a new netty-codec-http dependency, introducing an _enableCompression flag in HttpPostSink, and implementing the compression logic. The RequestEntry model is updated to track original and encoded body sizes, and these new metrics are recorded in HttpSinkActor. The createRequest method in all HttpPostSink subclasses has been updated to return a RequestInfo object containing the request and body sizes. My review focuses on improving code robustness and fixing a contradiction in the new configuration.

@BrandonArp BrandonArp merged commit df9f148 into master Aug 8, 2025
8 checks passed
@BrandonArp BrandonArp deleted the sink_compression branch August 8, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant