@Puneet SinghRead Json records with new line delimiter using Record based processor is not possible until NiFi-1.7.0 version, This NIFI-4456 bug and has been fixed starting from NiFi-1.7 version.
-
Starting from NiFi-1.7+ we are able to read the newline delimiter json records using Record based processors.
-
If you want to read the new line delimiter json records then possible workaround is either using MergeContent (or) MergeRecord processors.
-
Refer to this question in SO for the same usecase, I have explained in detail how to configure MergeContent processors to read the newline delimiter json messages in NiFi.
-
If the Answer helped to resolve your issue, Click on Accept button below to accept the answer, That would be great help to Community users to find solution quickly for these kind of issues.