Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2997

Provide processor to convert between standard encodings

    XMLWordPrintableJSON

Details

    Description

      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 processor (or it could at least be marked as @Deprecated).

      Processors

      • EncodeAttribute
      • EncodeContent

      Formats

      • Binary
      • ASCII
      • Hexadecimal
      • UTF-8
      • UTF-16
      • Base64

      Attachments

        Activity

          People

            Unassigned Unassigned
            alopresto Andy LoPresto
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: