[
https://issues.apache.org/jira/browse/NIFI-5353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580269#comment-16580269
]
ASF GitHub Bot commented on NIFI-5353:
--------------------------------------
Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2833#discussion_r210065312
--- Diff: nifi-nar-bundles/nifi-jolt-record-bundle/pom.xml ---
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.nifi</groupId>
+ <artifactId>nifi-nar-bundles</artifactId>
+ <version>1.8.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>nifi-jolt-record-bundle</artifactId>
+ <version>1.8.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>nifi-jolt-record-processors</module>
+ <module>nifi-jolt-record-nar</module>
+ </modules>
+
+ <properties>
+ <jackson.version>2.9.5</jackson.version>
+ <yammer.metrics.version>2.2.0</yammer.metrics.version>
+ <jolt.version>0.1.0</jolt.version>
--- End diff --
I'll upgrade to Jolt 0.1.1 while I'm at it, [more cool
functions](https://github.com/bazaarvoice/jolt/releases/tag/jolt-0.1.1) to use!
> Add a JoltTransformRecord processor
> -----------------------------------
>
> Key: NIFI-5353
> URL: https://issues.apache.org/jira/browse/NIFI-5353
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
> Priority: Major
>
> JOLT is a great Domain-Specific Language (DSL) and engine for transforming
> JSON documents, which our JoltTransformJSON processor leverages. However, the
> JOLT engine simply translates the JSON text into a Java object, runs the
> transformation based on the spec, and then transforms the object(s) back into
> JSON. This is very similar to how our record-based processors work, and JOLT
> itself is not bound to JSON per se.
> We can leverage JOLT to provide a record-based processor to run JOLT
> transformations on any incoming record sets, such as XML, CSV, Avro, etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)