Introduction
Apache NiFi 2.0.0 includes the removal of multiple deprecated extension components and legacy product features. Version 1.18.0 introduced deprecation logging to provide runtime warnings for elements targeted for removal. Upgrading to the latest version 1 release provides the most accurate set of deprecation warnings.
Configuration changes must be completed prior to upgrading from version 1 to avoid failures. Application settings and flow design changes should be completed and tested before upgrading.
Migrating from deprecated components and features requires different steps depending on configured properties. The level of difficulty varies based on the number of properties to be changed and the steps involved to maintain similar behavior.
Processors
Migrating deprecated Processors and properties requires flow design changes. The steps required range from setting different property values to replacing one Processor with one or more Processors providing similar capabilities.
Base64EncodeContent
Component Class | org.apache.nifi.processors.standard.Base64EncodeContent |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecated Version | 1.20.0 |
Migration Difficulty | LOW |
Alternatives
Component Class | org.apache.nifi.processors.standard.EncodeContent |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Migration
Base64EncodeContent supports a single Mode property that can be set to Encode or Decode.
The standard EncodeContent Processor supports Base64 and other formats for both encoding and decoding.
The EncodeContent Processor provides a direct replacement for Base64EncodeContent using standard properties.
Property | Value |
---|---|
Mode | Encode |
Encoding | base64 |