This is an automated email from the ASF dual-hosted git repository.

joewitt pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 90972a7f57 NIFI-12111 This closes #7776. Deprecated Unmaintained 
Components for Removal
90972a7f57 is described below

commit 90972a7f57a63457753af3fde51583f4c16c47b4
Author: exceptionfactory <exceptionfact...@apache.org>
AuthorDate: Thu Sep 21 21:27:31 2023 -0500

    NIFI-12111 This closes #7776. Deprecated Unmaintained Components for Removal
    
    - nifi-cybersecurity-bundle
    - nifi-html-bundle
    - nifi-metrics-reporting-bundle
    - nifi-riemann-bundle
    - nifi-tcp-bundle
    - nifi-rules-action-handler-bundle
    
    Signed-off-by: Joseph Witt <joew...@apache.org>
---
 .../org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java     | 3 ++-
 .../org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java     | 3 ++-
 .../src/main/java/org/apache/nifi/GetHTMLElement.java                  | 2 ++
 .../src/main/java/org/apache/nifi/ModifyHTMLElement.java               | 2 ++
 .../src/main/java/org/apache/nifi/PutHTMLElement.java                  | 2 ++
 .../reporting/reporter/service/GraphiteMetricReporterService.java      | 2 ++
 .../org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java   | 2 ++
 .../src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java   | 2 ++
 .../main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java  | 2 ++
 .../src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java     | 2 ++
 .../main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java    | 2 ++
 .../src/main/java/org/apache/nifi/rules/handlers/LogHandler.java       | 2 ++
 .../main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java    | 2 ++
 .../src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java        | 2 ++
 14 files changed, 28 insertions(+), 2 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java
 
b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java
index 0a8ce67c3f..c1f2283518 100644
--- 
a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java
+++ 
b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java
@@ -17,6 +17,7 @@
 
 package org.apache.nifi.processors.cybersecurity;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.EventDriven;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SideEffectFree;
@@ -70,7 +71,7 @@ import java.util.Set;
                 "by the <Hash Attribute Name> property. Note that: 'XXX' gets 
replaced with the <Hash Attribute Name>"),
         @WritesAttribute(attribute = "XXXX.N.similarity", description = "The 
similarity score between this flowfile" +
                 "and its match of the same number N. Note that: 'XXX' gets 
replaced with the <Hash Attribute Name>")})
-
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class CompareFuzzyHash extends AbstractFuzzyHashProcessor {
     public static final AllowableValue singleMatch = new AllowableValue(
             "single",
diff --git 
a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
 
b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
index 78ed94fde1..34cb62c92f 100644
--- 
a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
+++ 
b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java
@@ -18,6 +18,7 @@ package org.apache.nifi.processors.cybersecurity;
 
 import com.idealista.tlsh.exceptions.InsufficientComplexityException;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.EventDriven;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SideEffectFree;
@@ -70,7 +71,7 @@ import java.util.concurrent.atomic.AtomicReference;
 @SeeAlso(classNames = {"org.apache.nifi.processors.standard.HashContent"}, 
value = {CompareFuzzyHash.class})
 @WritesAttributes({@WritesAttribute(attribute = "<Hash Attribute Name>", 
description = "This Processor adds an attribute whose value is the result of 
Hashing the "
         + "existing FlowFile content. The name of this attribute is specified 
by the <Hash Attribute Name> property")})
-
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class FuzzyHashContent extends AbstractFuzzyHashProcessor {
 
 
diff --git 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/GetHTMLElement.java
 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/GetHTMLElement.java
index 37dab67b24..841ec8b609 100644
--- 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/GetHTMLElement.java
+++ 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/GetHTMLElement.java
@@ -17,6 +17,7 @@
 package org.apache.nifi;
 
 import org.apache.commons.lang3.StringUtils;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SupportsBatching;
 import org.apache.nifi.components.PropertyDescriptor;
@@ -66,6 +67,7 @@ import java.util.Collections;
 @SeeAlso({ModifyHTMLElement.class, PutHTMLElement.class})
 @WritesAttributes({@WritesAttribute(attribute="HTMLElement", 
description="Flowfile attribute where the element result" +
         " parsed from the HTML using the CSS selector syntax are placed if the 
destination is a flowfile attribute.")})
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class GetHTMLElement
         extends AbstractHTMLProcessor {
 
diff --git 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/ModifyHTMLElement.java
 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/ModifyHTMLElement.java
index d864f71a2d..60dcf65f77 100644
--- 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/ModifyHTMLElement.java
+++ 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/ModifyHTMLElement.java
@@ -16,6 +16,7 @@
  */
 package org.apache.nifi;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SupportsBatching;
 import org.apache.nifi.annotation.behavior.WritesAttribute;
@@ -62,6 +63,7 @@ import java.util.Collections;
 @SeeAlso({GetHTMLElement.class, PutHTMLElement.class})
 @WritesAttributes({@WritesAttribute(attribute="NumElementsModified", 
description="Total number of HTML " +
         "element modifications made")})
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class ModifyHTMLElement extends AbstractHTMLProcessor {
 
     public static final String NUM_ELEMENTS_MODIFIED_ATTR = 
"NumElementsModified";
diff --git 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/PutHTMLElement.java
 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/PutHTMLElement.java
index c3d4890443..3294ca6590 100644
--- 
a/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/PutHTMLElement.java
+++ 
b/nifi-nar-bundles/nifi-html-bundle/nifi-html-processors/src/main/java/org/apache/nifi/PutHTMLElement.java
@@ -16,6 +16,7 @@
  */
 package org.apache.nifi;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SupportsBatching;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
@@ -56,6 +57,7 @@ import java.util.Collections;
         " content with the updated HTML. A more thorough reference for the CSS 
selector syntax can be found at" +
         " \"http://jsoup.org/apidocs/org/jsoup/select/Selector.html\"";)
 @SeeAlso({GetHTMLElement.class, ModifyHTMLElement.class})
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class PutHTMLElement extends AbstractHTMLProcessor {
 
     public static final String APPEND_ELEMENT = "append-html";
diff --git 
a/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/reporter/service/GraphiteMetricReporterService.java
 
b/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/reporter/service/GraphiteMetricReporterService.java
index 32c644938d..0bae963618 100644
--- 
a/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/reporter/service/GraphiteMetricReporterService.java
+++ 
b/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/reporter/service/GraphiteMetricReporterService.java
@@ -21,6 +21,7 @@ import com.codahale.metrics.ScheduledReporter;
 import com.codahale.metrics.graphite.Graphite;
 import com.codahale.metrics.graphite.GraphiteReporter;
 import com.codahale.metrics.graphite.GraphiteSender;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnDisabled;
@@ -47,6 +48,7 @@ import java.util.List;
 @Tags({"metrics", "reporting", "graphite"})
 @CapabilityDescription("A controller service that provides metric reporters 
for graphite. " +
         "Used by MetricsReportingTask.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class GraphiteMetricReporterService extends AbstractControllerService 
implements MetricReporterService {
 
     /**
diff --git 
a/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java
 
b/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java
index dfd6f7916b..10037aa643 100644
--- 
a/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java
+++ 
b/nifi-nar-bundles/nifi-metrics-reporting-bundle/nifi-metrics-reporting-task/src/main/java/org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java
@@ -19,6 +19,7 @@ package org.apache.nifi.metrics.reporting.task;
 import com.codahale.metrics.MetricRegistry;
 import com.codahale.metrics.ScheduledReporter;
 import com.codahale.metrics.jvm.MemoryUsageGaugeSet;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnScheduled;
@@ -52,6 +53,7 @@ import java.util.concurrent.atomic.AtomicReference;
 @CapabilityDescription("This reporting task reports a set of metrics regarding 
the JVM and the NiFi instance" +
         "to a reporter. The reporter is provided by a MetricReporterService. 
It can be optionally used for a specific" +
         "process group if a property with the group id is provided.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class MetricsReportingTask extends AbstractReportingTask {
 
     /**
diff --git 
a/nifi-nar-bundles/nifi-riemann-bundle/nifi-riemann-processors/src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java
 
b/nifi-nar-bundles/nifi-riemann-bundle/nifi-riemann-processors/src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java
index d9a54d0af8..86227c09fe 100644
--- 
a/nifi-nar-bundles/nifi-riemann-bundle/nifi-riemann-processors/src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java
+++ 
b/nifi-nar-bundles/nifi-riemann-bundle/nifi-riemann-processors/src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java
@@ -20,6 +20,7 @@ import io.riemann.riemann.Proto;
 import io.riemann.riemann.Proto.Event;
 import io.riemann.riemann.client.RiemannClient;
 import org.apache.commons.lang3.StringUtils;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.DynamicProperty;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;
@@ -58,6 +59,7 @@ import java.util.concurrent.TimeUnit;
   "events support the NiFi Expression Language.")
 @SupportsBatching
 @InputRequirement(Requirement.INPUT_REQUIRED)
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class PutRiemann extends AbstractProcessor {
   protected enum Transport {
     TCP, UDP
diff --git 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java
 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java
index 2865193d01..eee84edfb0 100644
--- 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java
+++ 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java
@@ -16,6 +16,7 @@
  */
 package org.apache.nifi.rules.handlers;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.DynamicProperty;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
@@ -44,6 +45,7 @@ import java.util.Map;
 "This service will allow multiple ActionHandlers to be defined and registered 
by action type.  When actions are provided the handlers can " +
 "be dynamically determined and executed at runtime.")
 @DynamicProperty(name = "actionType ", value = "Action Handler Service", 
expressionLanguageScope = ExpressionLanguageScope.NONE, description = "")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class ActionHandlerLookup extends AbstractActionHandlerService{
 
     private volatile Map<String, PropertyContextActionHandler> 
actionHandlerMap;
diff --git 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java
 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java
index 1687d17fdd..23f97570fb 100644
--- 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java
+++ 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java
@@ -16,6 +16,7 @@
  */
 package org.apache.nifi.rules.handlers;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnEnabled;
@@ -40,6 +41,7 @@ import java.util.Set;
 @Tags({"rules", "rules engine", "action", "action handler", "logging", 
"alerts", "bulletins"})
 @CapabilityDescription("Creates alerts as bulletins based on a provided action 
(usually created by a rules engine).  " +
         "Action objects executed with this Handler should contain 
\"category\", \"message\", and \"logLevel\" attributes.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class AlertHandler extends AbstractActionHandlerService {
 
     public static final PropertyDescriptor DEFAULT_LOG_LEVEL = new 
PropertyDescriptor.Builder()
diff --git 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java
 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java
index 6a69d5eb24..7e6dffa703 100644
--- 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java
+++ 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java
@@ -17,6 +17,7 @@
 package org.apache.nifi.rules.handlers;
 
 import org.apache.commons.lang3.StringUtils;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnEnabled;
@@ -41,6 +42,7 @@ import java.util.Map;
 @Tags({"rules", "rules engine", "action", "action handler", "expression 
language","MVEL","SpEL"})
 @CapabilityDescription("Executes an action containing an expression written in 
MVEL or SpEL. The action " +
 "is usually created by a rules engine. Action objects executed with this 
Handler should contain \"command\" and \"type\" attributes.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class ExpressionHandler extends AbstractActionHandlerService {
 
     enum ExpresssionType {
diff --git 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/LogHandler.java
 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/LogHandler.java
index b59bcbe3c2..de945a0590 100644
--- 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/LogHandler.java
+++ 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/LogHandler.java
@@ -17,6 +17,7 @@
 package org.apache.nifi.rules.handlers;
 
 import org.apache.commons.lang3.StringUtils;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnEnabled;
@@ -41,6 +42,7 @@ import java.util.Set;
 @Tags({"rules", "rules engine", "action", "action handler", "logging"})
 @CapabilityDescription("Logs messages and fact information based on a provided 
action (usually created by a rules engine).  " +
         " Action objects executed with this Handler should contain 
\"logLevel\" and \"message\" attributes.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class LogHandler extends AbstractActionHandlerService {
 
     public static final PropertyDescriptor DEFAULT_LOG_LEVEL = new 
PropertyDescriptor.Builder()
diff --git 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java
 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java
index 55c0de4127..e40d80593a 100644
--- 
a/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java
+++ 
b/nifi-nar-bundles/nifi-rules-action-handler-bundle/nifi-rules-action-handler-service/src/main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java
@@ -17,6 +17,7 @@
 package org.apache.nifi.rules.handlers;
 
 import org.apache.commons.lang3.math.NumberUtils;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.annotation.lifecycle.OnEnabled;
@@ -47,6 +48,7 @@ import java.util.stream.Collectors;
 @Tags({"rules", "rules engine", "action", "action handler", "record", "record 
sink"})
 @CapabilityDescription("Sends fact information to sink based on a provided 
action (usually created by a rules engine)." +
         "  Action objects executed with this Handler should contain 
\"sendZeroResult\" attribute.")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class RecordSinkHandler extends AbstractActionHandlerService{
 
     static final PropertyDescriptor RECORD_SINK_SERVICE = new 
PropertyDescriptor.Builder()
diff --git 
a/nifi-nar-bundles/nifi-tcp-bundle/nifi-tcp-processors/src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java
 
b/nifi-nar-bundles/nifi-tcp-bundle/nifi-tcp-processors/src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java
index a746a21af6..30278170f8 100644
--- 
a/nifi-nar-bundles/nifi-tcp-bundle/nifi-tcp-processors/src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java
+++ 
b/nifi-nar-bundles/nifi-tcp-bundle/nifi-tcp-processors/src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java
@@ -16,6 +16,7 @@
  */
 package org.apache.nifi.processors.gettcp;
 
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
 import org.apache.nifi.annotation.behavior.DynamicProperty;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.SideEffectFree;
@@ -59,6 +60,7 @@ import java.util.concurrent.TimeUnit;
 @DynamicProperty(name = "A FlowFile attribute to set", value = "The value to 
set it to",
         description = "Sets a FlowFile attribute specified by the Dynamic 
Property's key with the value specified by the Dynamic Property's value")
 @WritesAttribute(attribute = "source.endpoint", description = "The address of 
the source endpoint the message came from")
+@DeprecationNotice(reason = "Unmaintained and planned for removal in version 
2.0")
 public class GetTCP extends AbstractSessionFactoryProcessor {
 
     private static String SOURCE_ENDPOINT_ATTRIBUTE = "source.endpoint";

Reply via email to