cj devin
cj devin

Reputation: 1375

In nifi flow using custom processor pass multiple file in sucess relationship?

How to develope custom apache nifi processor that take one workbook with multiple sheet as a input and number of row in each sheet generate json for each row and pass each generated json file into success relationship.

Upvotes: 0

Views: 934

Answers (1)

Andy
Andy

Reputation: 14194

In general, you use processSession.clone() to create child flowfiles from the original (linked via provenance data) and pass them to the SUCCESS relationship using processSession.transfer(). You can see a good example of this in SplitText.

Upvotes: 3

Related Questions