Search in sources :

Example 1 with DefaultClockFactory

use of org.apache.metron.profiler.clock.DefaultClockFactory in project metron by apache.

the class ProfileSplitterBolt method prepare.

@Override
public void prepare(Map stormConf, TopologyContext context, OutputCollector collector) {
    super.prepare(stormConf, context, collector);
    this.collector = collector;
    this.parser = new JSONParser();
    this.router = new DefaultMessageRouter(getStellarContext());
    this.clockFactory = new DefaultClockFactory();
}
Also used : DefaultClockFactory(org.apache.metron.profiler.clock.DefaultClockFactory) JSONParser(org.json.simple.parser.JSONParser) DefaultMessageRouter(org.apache.metron.profiler.DefaultMessageRouter)

Aggregations

DefaultMessageRouter (org.apache.metron.profiler.DefaultMessageRouter)1 DefaultClockFactory (org.apache.metron.profiler.clock.DefaultClockFactory)1 JSONParser (org.json.simple.parser.JSONParser)1