Skip to content

dynamic_modules: add support for letting network modules to persist buffered data#43437

Merged
agrawroh merged 3 commits intoenvoyproxy:mainfrom
agrawroh:feat-dm-ntwrk-7
Feb 13, 2026
Merged

dynamic_modules: add support for letting network modules to persist buffered data#43437
agrawroh merged 3 commits intoenvoyproxy:mainfrom
agrawroh:feat-dm-ntwrk-7

Conversation

@agrawroh
Copy link
Member

Description

This PR adds support in the Dynamic Modules network filter read and write buffers to persist after on_read or on_write. It allows these modules to access buffered data from on_scheduled and other callbacks.

We have also added a new envoy_dynamic_module_callback_network_filter_get_cluster_host_count to query cluster host counts by name, enabling scale-to-zero and custom load balancing decisions in network filters.

Fix #43436


Commit Message: dynamic_modules: add support for letting network modules to persist buffered data
Additional Description: Added support in the Dynamic Modules network filter read and write buffers to persist after on_read or on_write.
Risk Level: Low
Testing: Added Tests
Docs Changes: Added
Release Notes: Added

…uffered data

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
@agrawroh agrawroh merged commit 88c9fdf into envoyproxy:main Feb 13, 2026
27 of 28 checks passed
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.

Allow reading from listener_filter_buffer_ in network filter outside of on_read

3 participants