Task · OPN-0039

Expose NetFlow worker/queue sizing as flags

Description

internal/flow/netflow/listener.go:20-23 hardcodes 4 workers / 1024 queue; drops are counted but not tunable. Add two flags with the current values as defaults.

Acceptance Criteria

Definition of Done

Implementation Notes

Wave 2 implementation is complete: validated worker/queue flags feed the bounded NetFlow listener, with negative-value rejection and concurrency/queue tests. Focused tests, full indexed just check, and L13 review passed. Landing is blocked solely by two CodeRabbit connection failures with no complete event. Preserved in codex/wip-wave2-coderabbit-blocked.patch; resume by applying it, rerunning the gate, and obtaining a completed CodeRabbit review.

Landed on main in a482f637. Worker count and queue depth are flag-configurable, defaults unchanged at 4 workers / 1024 queue, negative and zero values rejected at parse, flags feed the bounded listener, docs regenerated. Concurrency and queue tests pass.

View the source file on GitHub