stream reads data (from log file or pcap) and writes it to the output destination as fast as it can. To better match real-world systems it would useful in some scenarios to control the speed at which data is delivered to the destination. This is particularly true for protocols without delivery guarantees (UDP).
There's a TODO in the code related to this.
|
// TODO: Rate-limit for UDP. |
streamreads data (from log file or pcap) and writes it to the output destination as fast as it can. To better match real-world systems it would useful in some scenarios to control the speed at which data is delivered to the destination. This is particularly true for protocols without delivery guarantees (UDP).There's a TODO in the code related to this.
stream/internal/command/pcap.go
Line 87 in 09126d2