
kafka
z_alvin
只要有无法忘却的记忆,人就会变得坚强,这才是成长!
展开
-
windows安装kafka教程
1、官网下载kafka【解压之后如图所示】 2、修改zookeeper的配置文件 dataDir=D:/zookeeper/data dataLogDir=D:/zookeeper/log 3、启动zookeeper cdD:\software\kafka\kafka_2.11-2.2.0\bin\windows 在此目录下打开cmd,执行命令 zookeeper-server...原创 2019-04-28 21:24:55 · 989 阅读 · 1 评论 -
springboot集成kafka
1、引入pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <...原创 2019-04-28 22:17:09 · 173 阅读 · 0 评论 -
kafka的新的group订阅到topic中历史消息
1、配置 kafka.consumer.auto.offset.reset=earliest What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been de...原创 2019-08-16 17:35:04 · 2499 阅读 · 0 评论