Apache NiFi Data Integrity: Managing FTP to HDFS Transfers with Guaranteed Delivery
Hi,
I work on a NiFi flow getting data from a FTP server, sending this data to HDFS. I have to add to this flow the ability of checking data integrity between files fetched on the FTP, and files written on HDFS.
To do this, I use the HashContent NiFi processor with MD5 algorithm to compute MD5 hash of flowfiles from start and end of the flow (I can get MD5 hash of each file on FTP, second MD5 is computed after a PutHDFS retrieving files having been written).
Finally, I compare both values and consider data integrity is OK if they are equal.
Do you have a general advice about this practice?
Is this kind of check really useful with NiFi?
Thanks,
Benjamin



