[
https://issues.apache.org/jira/browse/NIFI-16574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-16574.
-------------------------------------
Fix Version/s: nifi-api-2.17.0
Resolution: Fixed
> 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
> Priority: Major
> Fix For: nifi-api-2.17.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> 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)