/**
* @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);
}