You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2017/08/17 14:21:00 UTC
[jira] [Commented] (NIFI-962) Create a processor to evaluate Avro
paths
[ https://issues.apache.org/jira/browse/NIFI-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130465#comment-16130465 ]
Mark Payne commented on NIFI-962:
---------------------------------
[~bbende] - I think this is probably OBE due to the new record-oriented processors such as UpdateRecord. Do you agree?
> Create a processor to evaluate Avro paths
> -----------------------------------------
>
> Key: NIFI-962
> URL: https://issues.apache.org/jira/browse/NIFI-962
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Minor
>
> Evaluate a set of Avro paths against an incoming file, and extract the results to FlowFile attributes, or to the content of the FlowFile, similar to EvaluateJsonPath. This would allow downstream processors to easily make decisions based on values in an Avro record, such as RouteOnAttribute.
> This would be particularly useful to use in conjunction with SplitAvro (NIFI-919) to make routing decisions on bare avro records.
> Flume has a similar concept in Morphlines that may be useful to look at:
> https://github.com/cloudera/cdk/blob/master/cdk-morphlines/cdk-morphlines-avro/src/main/java/com/cloudera/cdk/morphline/avro/ExtractAvroPathsBuilder.java
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)