Hi Joachim, How are you configuring your ConsumeKafka processor? If using - Processing Strategy = RECORD - Output Strategy = Use Wrapper
You should get all of the headers as part of the content of the FlowFile. If you really need to have one FlowFile = one message (definitely not recommended), you could use additional processors in the flow. Thanks, Pierre Le mar. 3 févr. 2026 à 13:34, Schuler, Joachim / Kuehne + Nagel / Ham MI-DA via users <[email protected]> a écrit : > > Hello team, > > > > For some of the Kafka messages that we are consuming in Nifi, the Kafka > message header with the name ‘uuid’ plays an important role. > > Unfortunately, due to the special meaning of uuid in Nifi, this cannot be > configured to be accessible as a Flowfile attribute (attribute will be > ignored). > > > > Inspecting the source code, I found that a header with name ‘uuid’ would > always be skipped in ConsumeKafka – no chance to work around this. > > See for example > https://github.com/apache/nifi-api/blob/2bd06f4ceae9ae28212f680c7aacd3051c0a1a3d/src/main/java/org/apache/nifi/processor/ProcessSession.java#L427 > . > > > > Are there any plans to provide enhancements in this field in future versions > of Nifi? > > E.g. enabling prefixing header names, so they can be handled within Nifi, > independent of their name? > > > > Best regards, > > Joachim > > > > > Kühne + Nagel (AG & Co.) KG > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE 812773878. > Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Tobias Jerschke (Vors.), Sven > Bauer, Daniel Becker, Martin Brinkmann, Lars-Olof Grün, Matthias Knicky, > Martin Schäfer, Lars Wedel. > Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > Geschäftsführendes Verwaltungsratsmitglied: Markus Blanka-Graff. > > Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in > Ziffer 23 hinsichtlich des Haftungshöchstbetrages für Güterschäden (§ 431 > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten unter > Einschluss einer Seebeförderung und bei unbekanntem Schadenort auf 2 SZR/kg > und im Übrigen die Regelhaftung von 8,33 SZR/kg zusätzlich auf 1,25 Millionen > Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis, mindestens > aber 2 SZR/kg, beschränken. Die ADSp sind auf unserer Webseite als Download > erhältlich. Auf Anfrage senden wir Ihnen diese auch gerne zu.
