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