apache-nifi

append rows to csv file, using apache nifi


using Apache nifi 2.0.0, i don't see an option to append rows to an existing csv file.

My setup:

Unfortunatly there is no 'append' option for the Conflict Resolution Strategy. So: how to append rows? Do I have to implement a TextAppender processor?


Solution

  • You can use the ReplaceText Processor in NifiReplaceText Processor

    Use the following Properties:

    Replacement Strategy - Append

    Replacement Value - Your Row value to insert

    Evaluation Method- Entire text