@After public void afterTest() { try { stopKafkaServer(); stopZookeeper(); } catch (java.nio.channels.CancelledKeyException ex) { logger.debug("LSHIL {}", ex.getLocalizedMessage()); } }
@Before public void beforeTest() { try { startZookeeper(); startKafkaServer(); } catch (java.nio.channels.CancelledKeyException ex) { logger.debug("LSHIL {}", ex.getLocalizedMessage()); } }