exceptionfactory commented on code in PR #115:
URL: https://github.com/apache/nifi-api/pull/115#discussion_r4756293548


##########
src/main/java/org/apache/nifi/components/connector/AbstractConnector.java:
##########
@@ -202,9 +206,9 @@ public CompletableFuture<Void> drainFlowFiles(final 
FlowContext flowContext) {
             initialQueueSize.getObjectCount(), 
NumberFormat.getNumberInstance().format(initialQueueSize.getByteCount()));
 
         Thread.startVirtualThread(() -> {
+            final ProcessGroupLifecycle lifecycle = 
flowContext.getRootGroup().getLifecycle();
             try {
-                stopSourceComponents(flowContext).get();

Review Comment:
   Thanks for removing this method



-- 
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