Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-962

Create a processor to evaluate Avro paths

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            bbende Bryan Bende
            bbende Bryan Bende
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: