fluent / fluent/fluent-bit

Forward input plugin can only handle one trace per message in PackedForward mode

Open
#6,485 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.