Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added Cron Scheduling Changes

...

Legacy and Alternative Sensitive Properties Algorithms

Component

org.apache.nifi.encrypt.PropertyEncryptorBuilder

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-property-encryptor
Deprecation TypeAllowed Values
Deprecated Version1.21.0
Migration DifficultyLOW
Migration TypeProperty Update

Migration

The nifi.sensitive.props.algorithm property in the nifi.properties configuration has supported a large number of possible values, including improved algorithms introduced in NiFi 1.14.0.

...

The SSLContextService interface is a standard Controller Service that supports TLS communication for network services. The createSSLContext methods accepted a Client Authentication argument that did not apply to SSLContext instances. The replacement createContext method provides the same runtime behavior without requiring any arguments. Updating custom code to compile against Apache NiFi 1.13.0 or greater and switching to the createContext method provides compatibility with Apache NiFi 2.0.0.

CRON Scheduling Changes

Component

org.apache.nifi.controller.scheduling.CronSchedulingAgent

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-framework-core
Deprecation TypeMethod Argument Values
Deprecated Version1.24.0
Migration DifficultyLOW
Migration TypeMethod argument changes

Migration

Component run scheduling using cron expression changed from using Quartz to Spring Framework CronExpression for parsing the scheduling period in NIFI-12290.

The new parsing approach does not impact most cron expressions, but does introduce the following changes:

  • Removed support for the optional Year field as the seventh field in an expression
  • Integer definitions for day of the week span from 0 to 7 instead of 1 to 7

Components can no longer be scheduled to run for a particular year, so any referenced to a seventh field in an expression must be removed. Using named day of the week references such as SUN or MON are preferred over integer references.

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.

...

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.

...

Component Class

org.apache.nifi.processors.standard.InvokeHTTP

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar

Migration

GetHTTP supports a number of configurable properties to retrieve data using the HTTP GET method. The URL property controls the primary behavior of the Processor.

...

Component Class

org.apache.nifi.jms.processors.ConsumeJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-jms-processors-nar

Migration

GetJMSQueue supports retrieving messages using the Java Message Service Queue interface to access Apache ActiveMQ.

...

Component Class

org.apache.nifi.jms.processors.ConsumeJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-jms-processors-nar

Migration

GetJMSTopic supports retrieving messages using the Java Message Service Topic interface to access Apache ActiveMQ.

...

Component Class

org.apache.nifi.processors.twitter.ConsumeTwitter

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-social-media-nar

Migration

GetTwitter uses Version 1 of the Twitter REST API and relies on the retired Twitter Hosebird Client library.

...

Component Class

org.apache.nifi.processors.standard.UpdateAttribute

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar

Migration

HashAttribute supports generating an MD5 digest of one more FlowFile attribute name and value pairs. The MD5 algorithm is not secure for cryptographic operations, and alternatives such as the SHA-2 or SHA-3 algorithms should be used.

...

Component Class

org.apache.nifi.processors.standard.CryptographicHashContent

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar

Migration

HashContent supports generating a digest of FlowFile content using a configurable algorithm and writing the hash to a specified FlowFile attribute.

...

Component Class

org.apache.nifi.processors.standard.InvokeHTTP

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar
Deprecation TypeComponent Properties
Deprecated Version1.18.0
Migration DifficultyLOW
Migration TypeProperty Replacement

Migration

InvokeHTTP includes several deprecated properties for configuring access through a proxy server.

...

Component Class

org.apache.nifi.processors.standard.InvokeHTTP

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-standard-nar

Migration

PostHTTP supports sending FlowFile content to a configurable HTTP URL using the HTTP POST method.

...

Component Class

org.apache.nifi.jms.processors.PublishJMS

Bundle Grouporg.apache.nifi
Bundle Artifactnifi-jms-processors-nar

Migration

PutJMS supports sending messages using the Java Message Service interface to access Apache ActiveMQ.

...