Package trident.kafka

Examples of trident.kafka.KafkaConfig


    //stormconfig.setDebug(true);
   
        List<String> hosts = Arrays.asList(KAKFA_HOST_PORT);
        System.out.println(""+hosts.get(0));
       
        KafkaConfig kafkaConf = new KafkaConfig(KafkaConfig.StaticHosts.fromHostString(hosts, 1),KAFKA_TOPIC );
        kafkaConf.scheme = new StringScheme();
       
        System.out.println(""+kafkaConf);
   
    TridentTopology tridentTopology = new TridentTopology();
View Full Code Here

TOP

Related Classes of trident.kafka.KafkaConfig

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.