arenger commented on issue #3455: NIFI-5900 Add SelectJson processor
URL: https://github.com/apache/nifi/pull/3455#issuecomment-486864645
 
 
   @ottobackwards This approach (`SelectJson`) is simpler than my original 
approach (`SplitLargeJson` -- #3414 ) and provides the same system resource 
advantages, with one exception: If the targeted JSON *excerpts* themselves are 
large, then I'm fairly certain the `SplitLargeJson` approach would be better.  
This is because the `JsonSurfer` library does not provide a means by which to 
supply an `OutputStream` to its `bind` signature... as far as I can see.
   
   In other words, the required heap space is independent of incoming FlowFile 
size, for *both* `SelectJson` and `SplitLargeJson`, but if the *outgoing* 
FlowFile size is also large, then the `SplitLargeJson` approach is currently a 
better approach, from a system resource perspective.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to