Search in sources :

Example 1 with KafkaFilerTopology

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);
// //////
}
Also used : OFEventWFMTopology(org.openkilda.wfm.topology.event.OFEventWFMTopology) KafkaFilerTopology(org.openkilda.wfm.topology.utils.KafkaFilerTopology) Properties(java.util.Properties) BeforeClass(org.junit.BeforeClass)

Aggregations

Properties (java.util.Properties)1 BeforeClass (org.junit.BeforeClass)1 OFEventWFMTopology (org.openkilda.wfm.topology.event.OFEventWFMTopology)1 KafkaFilerTopology (org.openkilda.wfm.topology.utils.KafkaFilerTopology)1