gharris1727 commented on code in PR #15154: URL: https://github.com/apache/kafka/pull/15154#discussion_r1450900313
########## connect/runtime/src/test/java/org/apache/kafka/connect/integration/ErrantRecordSinkConnector.java: ########## @@ -44,6 +49,12 @@ public ErrantRecordSinkTask() { public void start(Map<String, String> props) { super.start(props); reporter = context.errantRecordReporter(); + executorService = Executors.newSingleThreadExecutor(); + } + + @Override + public void stop() { + ThreadUtils.shutdownExecutorServiceQuietly(executorService, 4, TimeUnit.SECONDS); Review Comment: I picked this because it was less than the default graceful shutdown timeout, but i don't think it's particularly sensitive. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org