kpatelatwork commented on a change in pull request #10822: URL: https://github.com/apache/kafka/pull/10822#discussion_r651852657
########## File path: connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java ########## @@ -193,8 +194,8 @@ private short backoffRetries; // visible for testing - // The pending restart requests for the connectors; - final NavigableSet<RestartRequest> pendingRestartRequests = new TreeSet<>(); + // The latest pending restart requests for the connectors; + final Map<String, RestartRequest> pendingRestartRequests = new ConcurrentHashMap<>(); Review comment: Fixed -- 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