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