List<String> hosts = Arrays.asList("localhost:9092");
KafkaConfig kafkaConf = new KafkaConfig(KafkaConfig.StaticHosts.fromHostString(hosts, 3), "test");
kafkaConf.scheme = new StringScheme();
topology.newStream("mykafka", new TransactionalTridentKafkaSpout(kafkaConf))
// .aggregate(new Count(), new Fields("count"))
.each(new Fields("str"), new Debug());
LocalCluster cluster = new LocalCluster();
StormTopology topo = topology.build();