Examples of KafkaSpout


Examples of net.joshdevins.storm.spout.KafkaSpout

        Properties kafkaProps = new Properties();
        kafkaProps.put("zk.connect", "localhost:2182");
        kafkaProps.put("zk.connectiontimeout.ms", "1000000");
        kafkaProps.put("groupid", "storm");

        return new KafkaSpout(kafkaProps, "test", new StringScheme());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.