mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
flow: make input decode flows
We cannot pass the payload around as we want to reuse it. We should pass a copy, but this is a bit of a waste. Just do decoding during input ingestion. The CPU usage should be small, this helps locality and it avoids one channel.
This commit is contained in:
@@ -73,10 +73,6 @@ The flow component handles flow ingestion. It supports the following
|
||||
configuration keys:
|
||||
|
||||
- `inputs` to specify the list of inputs
|
||||
- `workers` to specify the number of workers to spawn to handle
|
||||
decoding
|
||||
- `queue-size` to specify the number of flows to queue when pushing
|
||||
them to the core component
|
||||
|
||||
Each input should define a `type` and `decoder`. For `decoder`, only
|
||||
`netflow` is currently supported. As for the `type`, both `udp` and
|
||||
|
||||
Reference in New Issue
Block a user