
Passes the first N messages of any stream t through unchanged, then stops pulling from the real upstream and emits nothing more, giving a hard total cap (not a rate) on how much an expensive downstream stage ever sees.
A frame stream is capped to a fixed number of images before the expensive detector runs, so a single bounded batch is processed and then the backend idles.
An HTTP image source is bounded for a one-shot test run, with each forwarded message logged to confirm shape before stopping.
max_count is constrained to one or more; a cap of zero is rejected at validation, so the component always forwards at least one message.Automated release