Package storm.kafka

Examples of storm.kafka.StringScheme


* @author Enno Shioji (eshioji@gmail.com)
*/
public class TestUtils {
    public static TransactionalTridentKafkaSpout testTweetSpout(BrokerHosts hosts) {
        TridentKafkaConfig kafkaConfig = new TridentKafkaConfig(hosts, "test", "storm");
        kafkaConfig.scheme = new SchemeAsMultiScheme(new StringScheme());
        return new TransactionalTridentKafkaSpout(kafkaConfig);
    }
View Full Code Here

TOP

Related Classes of storm.kafka.StringScheme

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.