摘要: 1、将kafka里lib目录下(除jar包外还有别的东西)所有的jar包导入工程中。 2、代码 public static void main(String[] args) { //声明连接属性 Properties properties = new Properties(); properties 阅读全文
posted @ 2018-03-20 23:43 Runner_Jack 阅读(586) 评论(0) 推荐(0) 编辑