[
https://issues.apache.org/jira/browse/NIFI-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448403#comment-16448403
]
ASF GitHub Bot commented on NIFI-1705:
--------------------------------------
Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/1589
Another thing to consider here (although it would be a fair amount of
refactor) is to repurpose this processor as AttributesToRecord. It doesn't add
efficiency as a "record-aware" processor as you'll only be producing one record
from one set of attributes (i.e. per-flowfile), but if you leverage a
RecordWriter you instantly have an AttributesToAnythingThatHasARecordWriter
processor :) So it would supplant AttributesToJSON (and would support
converting types which AttributesToJSON does not do IIRC) and provide CSV
output (your original goal) as well as Avro, FreeFormText, etc. What do you
think?
> AttributesToCSV
> ---------------
>
> Key: NIFI-1705
> URL: https://issues.apache.org/jira/browse/NIFI-1705
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Extensions
> Reporter: Randy Gelhausen
> Priority: Major
>
> Create a new processor which converts a Flowfile's attributes into CSV
> content.
> Should support the same configuration options as the AttributesToJSON
> processor
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)