exceptionfactory commented on code in PR #11181:
URL: https://github.com/apache/nifi/pull/11181#discussion_r3154572647


##########
nifi-extension-bundles/nifi-social-media-bundle/nifi-twitter-processors/src/main/java/org/apache/nifi/processors/twitter/ConsumeTwitter.java:
##########
@@ -64,6 +65,9 @@
         @WritesAttribute(attribute = "mime.type", description = "The MIME Type 
set to application/json"),
         @WritesAttribute(attribute = "tweets", description = "The number of 
Tweets in the FlowFile"),
 })
+@DeprecationNotice(reason = """
+NIFI-15882 The streaming endpoints this class uses are only available with 
either Pro or Enterprise subscriptions
+and the SDK is no longer maintened""")

Review Comment:
   The subscription requirement is not necessarily a reason for deprecation, so 
I would reduce this to the SDK maintenance issue:
   
   ```suggestion
   @DeprecationNotice(reason = "NIFI-15882 The twitter-api-java-sdk is no 
longer maintained")
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to