...
GetTwitter
Component Class | org.apache.nifi.processors.twitter.GetTwitter |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-social-media-nar |
Deprecation Type | Component Class |
Deprecated Version | 1.17.0 |
Migration Difficulty | MEDIUM |
Migration Type | Component Replacement |
Alternatives
Component Class | org.apache.nifi.processors.twitter.ConsumeTwitter |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-social-media-nar |
Migration
GetTwitter uses Version 1 of the Twitter REST API and relies on the retired Twitter Hosebird Client library.
GetTwitter supports several different endpoints for streaming Tweets, including Sample realtime Tweets and Filter realtime Tweets.
GetTwitter also supports configurable properties for filtering Tweets, but this filtering approach is not support in Version 2 of the Twitter REST API, and is not supported in ConsumeTwitter.
ConsumeTwitter uses Version 2 of the Twitter REST API. Twitter documentation provides a general guide for migrating from Version 1 to Version 2 for filtered streams and sampled streams.
ConsumeTwitter with Twitter API Version 2 requires a single OAuth 2.0 Bearer Token for app-only authentication. This approach replaces the API Key and Access Token approach required for GetTwitter.
Configuring ConsumeTwitter with the Sample Stream setting provides similar behavior to GetTwitter Sample Endpoint setting.
Configuring ConsumeTwitter with the Search Stream setting requires creating Filter Rules using the Twitter REST API outside of processor properties.
Flow Definitions
The Deprecated Flow Definition includes GetTwitter configured with the Sample Endpoint and without filters.
The Migrated Flow Definition includes ConsumeTwitter configured with the Sample Stream.
HashAttribute
Component Class | org.apache.nifi.processors.standard.HashAttribute |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecation Type | Component Class |
Deprecated Version | 1.21.0 |
Migration Difficulty | LOW |
Migration Type | Component Replacement |
Alternatives
Component Class | org.apache.nifi.processors.standard.UpdateAttribute |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-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.
...
Property | Value |
---|---|
label-hash | label${label:hash('SHA-256')} |
Flow Definitions
The Deprecated Flow Definition includes HashAttribute configured to write a FlowFile attribute named label-hash using the label attribute name and the value of the attribute from the incoming FlowFile.
...
Component Class | org.apache.nifi.processors.standard.HashContent |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecation Type | Component Class |
Deprecated Version | 1.8.0 |
Migration Difficulty | LOW |
Migration Type | Component Replacement |
Alternatives
Component Class | org.apache.nifi.processors.standard.CryptographHashContentCryptographicHashContent |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Migration
HashContent supports generating a digest of FlowFile content using a configurable algorithm and writing the hash to a specified FlowFile attribute.
...
Both Processors have a Hash Algorithm property, but the CryptographicHashContent Processor supports a scoped set of well-defined algorithms instead of depending on the algorithms that the Java Runtime Security Provider enumerates.
Flow Definitions
The Deprecated Flow Definition includes HashContent configured to write a FlowFile attribute named hash.value using the SHA-256 algorithm.
...
Component Class | org.apache.nifi.processors.standard.InvokeHTTP |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecation Type | Component Properties |
Deprecated Version | 1.18.0 |
Migration Difficulty | LOW |
Migration Type | Property Replacement |
Migration
InvokeHTTP includes several deprecated properties for configuring access through a proxy server.
...
Creating and configuring an instance of StandardProxyConfigurationService with the corresponding property values is required for upgrading.
Flow Definitions
The Deprecated Flow Definition includes InvokeHTTP configured with Proxy Host and Proxy Port properties.
...
Component Class | org.apache.nifi.processors.standard.PostHTTP |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecation Type | Component Class |
Deprecated Version | 1.9.0 |
Migration Difficulty | MEDIUM |
Migration Type | Component Replacement |
Alternatives
Component Class | org.apache.nifi.processors.standard.InvokeHTTP |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Migration
PostHTTP supports sending FlowFile content to a configurable HTTP URL using the HTTP POST method.
...
Property | Value |
---|---|
HTTP Method | POST |
HTTP URL | HTTP or HTTPS location |
Flow Definitions
The Deprecated Flow Definition includes PostHTTP configured to send to ListenHTTP without custom FlowFile binary packaging.
...
Component Class | org.apache.nifi.processors.standard.PutJMS |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-standard-nar |
Deprecation Type | Component Class |
Deprecated Version | 1.3.0 |
Migration Difficulty | MEDIUM |
Migration Type | Component Replacement |
Alternatives
Component Class | org.apache.nifi.jms.processors.PublishJMS |
Bundle Group | org.apache.nifi |
Bundle Artifact | nifi-jms-processors-nar |
Migration
PutJMS supports sending messages using the Java Message Service interface to access Apache ActiveMQ.
...
Property | Value |
---|---|
Connection Factory Service | JMSConnectionFactoryProvider |
Destination Name | |
Destination Type |
Flow Definitions
The Deprecated Flow Definition includes PutJMS configured for ActiveMQ running on the localhost address with a specified Destination Name.
...