@AfterEach
    public void tearDown(TestInfo testInfo) {
        log.info("Finished test {}", testInfo.getDisplayName());
        RuntimeHandles.get().deleteConnector(connectorName);
    }
Test connectors restart API use cases.
connect/runtime/src/test/java/org/apache/kafka/connect/integration/ConnectorRestartApiIntegrationTest.java