docs: explain should_collect_region_watermark_from_extensions

Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
discord9
2026-04-29 18:39:07 +08:00
parent d08743fc64
commit 400f5d12dd

View File

@@ -184,6 +184,10 @@ impl FlowQueryExtensions {
}
}
/// Returns whether raw Flow query extensions request terminal region watermark collection.
///
/// This is only an intent/presence check for transport/scan plumbing; callers that need
/// validated Flow options must still use [`FlowQueryExtensions::parse_flow_extensions`].
pub fn should_collect_region_watermark_from_extensions(
extensions: &HashMap<String, String>,
) -> bool {