Support Questions
Find answers, ask questions, and share your expertise

How to convert multiple json flowfiles into single csv using nifi?

How to convert multiple json flowfiles into single csv using nifi?

Contributor

Hi Friends,

I have scenario,  where I m using the getMongo processor to read all documents(rows) present in the mongodb colelction.

The getMongo is reading one document as one flow file, suppose in a collection if I have 50 documents(rows), then each row is reading as one flowfile(50 flowfiles).

Now I want to convert each flowfile into csv type and put into only one flowfile(csv file). How to do that?

GetMogo-->convertrecord ?