You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar
Deprecated Version1.20.0
Migration DifficultyLOW

Alternatives

Component Class

org.apache.nifi.processors.standard.EncodeContent

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-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.

PropertyValue
ModeEncode
Encodingbase64

Flow Definitions

The Deprecated Flow Definition includes Base64EncodeContent configured for encoding.

The Migrated Flow Definition replaces Base64EncodeContent with EncodeContent configured with Base64 encoding.

  • No labels