Mark Payne created NIFI-16574:
---------------------------------
Summary: Add NiFi API support for draining a Process Group
Key: NIFI-16574
URL: https://issues.apache.org/jira/browse/NIFI-16574
Project: Apache NiFi
Issue Type: Improvement
Components: NiFi API
Reporter: Mark Payne
Assignee: Mark Payne
Add the NiFi API changes for draining a Process Group, as described in
[NIP-51|https://issues.apache.org/jira/browse/NIP-51].
Add the {{@OnDrainInitiated}} and {{@OnDrainCompleted}} lifecycle annotations
so that Processors and Controller Services can process their data more
aggressively while their Process Group is being drained. Add {{beginDrain()}}
and {{endDrain()}} default methods to {{ProcessGroupLifecycle}} and use them in
{{AbstractConnector}}, so that a Connector drains its flow in the same way as a
Process Group. All changes are additive and backward compatible.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)