摘要: public class Consumer2Local { private final static Logger log = LoggerFactory.getLogger(Consumer2Local.class); public static void main(String[] args) throws IOException { if (args.length != 6... 阅读全文
posted @ 2019-06-15 14:46 春江师兄 阅读(296) 评论(0) 推荐(0) 编辑
摘要: public class ReadFile2Kafka { public static void main(String[] args) throws Exception { if (args.length != 4) { throw new RuntimeException("参数列表: bootstrap.servers、topic、sleep、input"); ... 阅读全文
posted @ 2019-06-15 14:43 春江师兄 阅读(258) 评论(0) 推荐(0) 编辑