Skip to main content
Bhar
Silver ⭐️
Jun 27, 2025 7:22 AM UTC
Question

Issue with NiFi MergeContent Only Outputting First FlowFile

Hi all,
I've been working with NiFi and observed an issue with the MergeContent processor. After running several experiments, I noticed that regardless of how many FlowFiles I send in, only the first one that enters the processor is included in the merged output. The rest seem to be ignored.

My use case involves merging two FlowFiles and passing them into a custom Python script. However, since only one file is getting through, the processing is incomplete.

I’ve verified that the incoming queue has both FlowFiles and that the processor settings appear standard. Has anyone encountered this?

  • Could it be related to Merge Strategy or correlation attribute configuration?
  • Are there specific settings required to ensure multiple FlowFiles are merged?

Any guidance or suggestions would be appreciated. Thanks!

1 reply

MattWho
Titanium ⭐️⭐️
Titanium ⭐️⭐️
Jul 1, 2025 12:50 PM UTC

@Bhar 

Can you share more detail?  Without it, I would only be making random guesses.

  1. What version of Apache NiFi are using?
  2. Is this a single instance of NiFi or a NiFi multi-node cluster?
  3. How is your MergeContent processor configured?

Thank you,

Matt

Translate