use of org.openkilda.wfm.topology.utils.KafkaFilerTopology in project open-kilda by telstra.
the class OFEventWfmTest method setupOnce.
@BeforeClass
public static void setupOnce() throws Exception {
AbstractStormTest.setupOnce();
// //////
Properties overlay = new Properties();
overlay.setProperty("filter.directory", server.tempDir.getAbsolutePath());
LaunchEnvironment env = makeLaunchEnvironment(overlay);
manager = new OFEventWFMTopology(env);
cluster.submitTopology(manager.makeTopologyName(), stormConfig(), manager.createTopology());
discoFiler = new KafkaFilerTopology(env, manager.getConfig().getKafkaTopoDiscoTopic());
cluster.submitTopology("utils-1", stormConfig(), discoFiler.createTopology());
Utils.sleep(5 * 1000);
// //////
}
Aggregations