摘要:
public class Consumer2Local { private final static Logger log = LoggerFactory.getLogger(Consumer2Local.class); public static void main(String[] args) throws IOException { if (args.length != 6... 阅读全文
摘要:
public class ReadFile2Kafka { public static void main(String[] args) throws Exception { if (args.length != 4) { throw new RuntimeException("参数列表: bootstrap.servers、topic、sleep、input"); ... 阅读全文