摘要: Kafka消费者Demo 依赖包: <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>1.0.0</version> </dependency> 源码: p 阅读全文
posted @ 2020-07-08 17:53 星瑞 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: Kafka生产者demo 依赖包: <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>1.0.0</version> </dependency> 源码: p 阅读全文
posted @ 2020-07-08 17:50 星瑞 阅读(807) 评论(0) 推荐(0) 编辑
摘要: - 启停./zookeeper-server-start.sh ../config/zookeeper.properties ./kafka-server-start.sh ../config/server.properties - 查询所有topickafka-topics --list --zo 阅读全文
posted @ 2020-07-08 17:27 星瑞 阅读(188) 评论(0) 推荐(0) 编辑