Package com.streamreduce.storm.spouts

Examples of com.streamreduce.storm.spouts.EventSpout


public class JuggaloaderTopology {

    public StormTopology createJuggaloaderTopology() {
        TopologyBuilder builder = new TopologyBuilder();
        builder.setSpout("eventSpout", new EventSpout());
        builder.setSpout("commandSpout", new JuggaloaderCommandSpout());
        builder.setBolt("accountMetricsBolt", new AccountMetricsBolt())
                .shuffleGrouping("eventSpout", GroupingNameConstants.ACCOUNT_GROUPING_NAME);
        builder.setBolt("connectionMetricsBolt", new ConnectionMetricsBolt())
                .shuffleGrouping("eventSpout", GroupingNameConstants.CONNECTION_GROUPING_NAME);
View Full Code Here

TOP

Related Classes of com.streamreduce.storm.spouts.EventSpout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.