Support Questions

Find answers, ask questions, and share your expertise

Issue with NiFi MergeContent Only Outputting First FlowFile

avatar
Explorer

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 1

avatar
Master Mentor

@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