Andy LoPresto created NIFI-2997:
-----------------------------------

             Summary: Provide processor to convert between standard encodings
                 Key: NIFI-2997
                 URL: https://issues.apache.org/jira/browse/NIFI-2997
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Extensions
    Affects Versions: 1.0.0
            Reporter: Andy LoPresto


A common request is to convert some data between ASCII, hexadecimal, binary, 
etc. format. While I am generally not a fan of "catch-all" processors and would 
usually suggest following the NiFi precedent/'Unix tool mentality", the 
conversion between these encodings is a similar process, so I think a single 
processor with selectable input and output formats is sufficient here. In 
actuality, I would suggest the core functionality be captured in a 
library/service with pluggable implementations and then be exposed to one 
processor for content conversion and one for attribute conversion. If 
{{Base64}} is included, this could replace the 
[{{Base64EncodeContent}}|https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.Base64EncodeContent/index.html]
 processor (or it could at least be marked as {{@Deprecated}}). 

*Processors*
* EncodeAttribute
* EncodeContent

*Formats*
* Binary
* ASCII
* Hexadecimal
* UTF-8
* UTF-16
* Base64



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to