dxichen commented on a change in pull request #923: Adding a bound on EventHubSystemConsumer's initalizeEventHubsManagers URL: https://github.com/apache/samza/pull/923#discussion_r257430975
########## File path: samza-azure/src/main/java/org/apache/samza/system/eventhub/consumer/EventHubSystemConsumer.java ########## @@ -254,6 +256,13 @@ private EventHubClientManager createOrGetEventHubClientManagerForSSP(String stre return eventHubClientManager; } + private void boundedInitializeEventHubsManagers() { + if (!ShutdownUtil.boundedExecution(Collections.singletonList(() -> initializeEventHubsManagers()), Review comment: Would have to rename `ShutdownUtil` to use it here. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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