Examples of TridentKafkaConfig


Examples of storm.kafka.trident.TridentKafkaConfig

/**
* @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
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.