You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Daniel Cave (JIRA)" <ji...@apache.org> on 2016/05/27 16:26:12 UTC
[jira] [Commented] (NIFI-1935) Added ConvertDynamicJsonToAvro
processor
[ https://issues.apache.org/jira/browse/NIFI-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304273#comment-15304273 ]
Daniel Cave commented on NIFI-1935:
-----------------------------------
Patch incoming
> Added ConvertDynamicJsonToAvro processor
> ----------------------------------------
>
> Key: NIFI-1935
> URL: https://issues.apache.org/jira/browse/NIFI-1935
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Daniel Cave
> Priority: Minor
> Fix For: 1.0.0, 0.7.0
>
>
> ConvertJsonToAvro required a predefined Avro schema to convert JSON and required the presence of all field on the incoming JSON. ConvertDynamicJsonToAvro functions similarly, however it now accepts the JSON and schema as incoming flowfiles and creates the Avro dynamically.
> This processor requires the InferAvroSchema processor in its upstream flow so that it can use the original and schema flowfiles as input. These two flowfiles will have the unique attribute inferredAvroId set on them by InferAvroSchema so that they can be properly matched in ConvertDynamicJsonToAvro.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)