Skip to content

compressor: expose compressor_library for per-route overrides#41177

Merged
KBaichoo merged 7 commits into
envoyproxy:mainfrom
agrawroh:feat-compressor
Oct 1, 2025
Merged

compressor: expose compressor_library for per-route overrides#41177
KBaichoo merged 7 commits into
envoyproxy:mainfrom
agrawroh:feat-compressor

fixes

525d8d7
Select commit
Loading
Failed to load commit list.
CI (Envoy) / Mobile/Coverage skipped Oct 1, 2025 in 0s

Check was skipped

This check was not triggered in this CI run

Details

Request (pr/41177/main@525d8d7)

agrawroh @agrawroh 525d8d7 #41177 merge main@b56bbc5

compressor: expose compressor_library for per-route overrides

Description

We have a requirement to select GZip vs. Brotli on some specific routes. In this PR, we are adding support for per-route compressor library override in the compressor filter. With this change, routes would be able to specify a different compressor library (e.g., gzip, brotli) via the compressor_library field on a per-route basis.

This would allow different routes to use different compression algorithms and settings while maintaining the same filter configuration.


Commit Message: compressor: expose compressor_library for per-route overrides
Additional Description: Added support to allow different routes to use different compression algorithms and settings while maintaining the same filter configuration.
Risk Level: Low
Testing: Added Unit + Integration Tests
Docs Changes: Added
Release Notes: Added

Environment

Request variables

Key Value
ref aaf10ca
sha 525d8d7
pr 41177
base-sha b56bbc5
actor agrawroh @agrawroh
message compressor: expose compressor_library for per-route overrides...
started 1759282130.304339
target-branch main
trusted false
Build image

Container image/s (as used in this CI run)

Key Value
default envoyproxy/envoy-build-ubuntu:f4a881a1205e8e6db1a57162faf3df7aed88eae8
mobile envoyproxy/envoy-build-ubuntu:mobile-f4a881a1205e8e6db1a57162faf3df7aed88eae8
Version

Envoy version (as used in this CI run)

Key Value
major 1
minor 36
patch 0
dev true