[
https://issues.apache.org/jira/browse/NIFI-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574991#comment-16574991
]
Matt Burgess commented on NIFI-967:
-----------------------------------
Can we close this? Sounds like the option was added to this processor, and the
ConvertXtoY processors have been mostly overcome-by-events due to the
record-based stuff (ConvertRecord, e.g.). This particular issue is available in
the JSONRecordSetWriter as of NiFi 1.7.0 (array or one JSON per line).
> Add record container options to ConvertAvroToJSON
> -------------------------------------------------
>
> Key: NIFI-967
> URL: https://issues.apache.org/jira/browse/NIFI-967
> Project: Apache NiFi
> Issue Type: Wish
> Components: Extensions
> Affects Versions: 0.3.0
> Reporter: Ryan Blue
> Priority: Major
>
> ConvertAvroToJSON currently produces a JSON list of the records in an Avro
> file. There are common alternatives to making a file of JSON records:
> 1. Concatenating records without the list structure at the root
> 2. Newline-separating records that contain no newlines in white-space
> The processor to convert from JSON to Avro supports those two container
> options, but not the list of JSON records. It should be easy enough to
> implement these. I'd also recommend making #2 the default, but that probably
> isn't possible now that the processor has been released.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)