joewitt commented on a change in pull request #3676: NIFI-6597 Azure Event Hub Version Update URL: https://github.com/apache/nifi/pull/3676#discussion_r336010677
########## File path: nifi-nar-bundles/nifi-azure-bundle/nifi-azure-processors/src/main/java/org/apache/nifi/processors/azure/eventhub/GetAzureEventHub.java ########## @@ -275,11 +279,14 @@ public void tearDown() throws ProcessException { if (null != eventHubClient) { eventHubClient.closeSync(); } - } catch (final ServiceBusException e) { + executor.shutdown(); Review comment: if event hub client close throws exception this will be skipped. it should be in its own block ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services