ext_proc: document session affinity configuration - #46558
Open
dio wants to merge 1 commit into
Open
Conversation
Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
dio
requested review from
mattklein123,
tyxia,
yanavlasov and
yanjunxiang-google
as code owners
August 6, 2026 07:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: ext_proc: document session affinity configuration
Additional Description: Documents the existing configuration path for keeping requests with the same session key on one external processor endpoint. The downstream key is copied into Envoy gRPC initial metadata and used by a matching cluster-level hash policy. Adds integration coverage for header affinity, passive-cookie affinity, and requests without an affinity key.
No production behavior changes are introduced. A runnable Go demonstration is available at https://github.com/dio/ext-proc-session-affinity.
AI assistance was used to help prepare the documentation and tests; the submitter reviewed and validated the resulting change.
Risk Level: Low
Testing: Focused ext_proc integration test. The runnable demo also measured header and passive-cookie affinity across 32 sessions and 160 requests per mode, with both processor endpoints observed and zero affinity violations.
Docs Changes: Adds ext_proc session-affinity configuration guidance and examples.
Release Notes: N/A
Platform Specific Features: N/A
Fixes #46159