Forward input plugin can only handle one trace per message in PackedForward mode
Open
exempt-stale
status: waiting-for-triage
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 2k
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 71
Description
## Bug Report
**Describe the bug**
When sending traces to Fluent Bit via the Forward Protocol, Fluent Bit only reads the first trace in each incoming message when the message is in PackedForward mode.
In fw_prot.c, the trace decoding code only decodes one trace, which results in Fluent Bit only reading the first trace from each incoming message.
https://github.com/fluent/fluent-bit/blob/ffbc0dacfc7d4c9171bd4ca92bdd69214e37a540/plugins/in_forward/fw_prot.c#L614
**To Reproduce**
Send multiple traces in one message in PackedForward mode over Forward protocol to a fluent bit with Forward Input plugin.
**Your Environment**
* Version used: up-to-date master
Contributor guide
Assessment
This issue has not been assessed yet.