摘要: 启动 [root@node1 kafka]# ./bin/kafka-server-start.sh -daemon config/server.properties 创建主题 ./bin/kafka-topics.sh --create --zookeeper 192.168.23.101:218 阅读全文
posted @ 2019-02-28 22:05 VIP8cnbl 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 在没有配置kafka 删除属性的情况下 使用删除主题命令 ./bin/kafka-topics.sh --delete --zookeeper 192.168.28.131:2181,192.168.28.131:2182,192.168.28.131:2183 --topic test之后对当前主 阅读全文
posted @ 2019-02-28 22:04 VIP8cnbl 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 常用命令 1.新建主题 ./bin/kafka-topics.sh --create --zookeeper 192.168.28.131:2181,192.168.28.131:2182,192.168.28.131:2183 --replication-factor 3 --partitions 阅读全文
posted @ 2019-02-28 22:02 VIP8cnbl 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 工具:IdeaScala:版本2.10.6 <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-streaming_2.10</artifactId> <version>1.6.0</version> </depend 阅读全文
posted @ 2019-02-28 22:01 VIP8cnbl 阅读(236) 评论(0) 推荐(0) 编辑