Skip to content

Conversation

@DIFRIN
Copy link

@DIFRIN DIFRIN commented Mar 15, 2024

Add support for dynamic or static header for the kafka output plugin

Example:
'docker run --rm --network kafka_default -e value_test='${text}' -it fluent/fluent-bit-local:latest -i dummy -p dummy='{"text": "hello world"}' -p samples=1 -o kafka -p brokers=kafka:9092 -p topics=test_fluentbit -p header="key2 <text>" -vvv'

Gives
kafka-console-consumer --topic test_fluentbit --bootstrap-server kafka:9092 --property print.headers=true
key2:hello world {"@timestamp":1710505560.027627,"text":"hello world"}

@lecaros
Copy link
Contributor

lecaros commented Apr 17, 2024

Hi @DIFRIN,
please sort the DCO issue.

@lecaros lecaros added waiting-for-user Waiting for user/contributors feedback or requested changes dco DCO failing waiting-on-code-merge labels Apr 17, 2024
@DIFRIN DIFRIN force-pushed the output-kafka-add_headers branch from 59f5378 to 3dec0b6 Compare May 29, 2024 19:25
@DIFRIN DIFRIN requested review from a team as code owners May 29, 2024 19:25
@DIFRIN
Copy link
Author

DIFRIN commented May 29, 2024

Hi @lecaros

DCO ok. Can you please review my merge request at fluent-bit repo

@lecaros lecaros added conflict Waiting on conflict to be resolved by contributor and removed dco DCO failing labels Aug 16, 2024
@eschabell
Copy link
Collaborator

@DIFRIN can you please resolve the conflicts here? I've nudged you on the code PR for the same conflict resolution task fluent/fluent-bit#8583. Both needed to merge.

@eschabell eschabell self-assigned this Oct 21, 2025
@esmerel
Copy link
Contributor

esmerel commented Oct 21, 2025

The conflicts were due to formatting changes for style, I went ahead and fixed the conflicts in the interest of keeping things moving.

There's one addition to the table that should be doublechecked by a dev-type person.

@patrick-stephens
Copy link
Contributor

I think we're still waiting on the code merge

@eschabell eschabell removed waiting-for-user Waiting for user/contributors feedback or requested changes conflict Waiting on conflict to be resolved by contributor labels Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants