48495051525354
Properties kafkaProps = new Properties(); kafkaProps.put("zk.connect", "localhost:2182"); kafkaProps.put("zk.connectiontimeout.ms", "1000000"); kafkaProps.put("groupid", "storm"); return new KafkaSpout(kafkaProps, "test", new StringScheme()); }