public void stop() { try { LOGGER.info("stopping broker topic observers"); for (String key : _kafkaBrokerTopicObserverMap.keySet()) { try { KafkaBrokerTopicObserver observer = _kafkaBrokerTopicObserverMap.get(key); observer.stop(); } catch (Exception e) { LOGGER.error("Failed to stop KafkaBrokerTopicObserver: {}!", key); } } LOGGER.info("stopping api component"); _component.stop(); LOGGER.info("stopping resource manager"); _helixMirrorMakerManager.stop(); } catch (final Exception e) { LOGGER.error("Caught exception", e); } }
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
Thread.sleep(5000); assertTopicExternalViewWithGivenPartitions(helixMirrorMakerManager, "testTopic0", 8, 2); helixMirrorMakerManager.stop();
Thread.sleep(5000); assertTopicExternalViewWithGivenPartitions(helixMirrorMakerManager, "testTopic0", 8, 2); helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
_helixMirrorMakerManager.stop();
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
@AfterTest public void shutdown() { LOGGER.info("Trying to shutdown"); helixMirrorMakerManager.stop(); kafkaBrokerTopicObserver.stop(); KafkaStarterUtils.stopServer(kafkaStarter); ZkStarter.stopLocalZkServer(); }
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
helixMirrorMakerManager.stop();
Thread.sleep(6000); assertTopicExternalViewWithGivenPartitions(helixMirrorMakerManager, "testTopic0", 8, 2); helixMirrorMakerManager.stop();