![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kafka
文章平均质量分 93
临月十四
这个作者很懒,什么都没留下…
展开
-
使用kafka定时获取接口的数据并存到mysql数据库
一、搭建kafka集群二、导入pom包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <原创 2020-08-21 16:20:51 · 2652 阅读 · 5 评论 -
Linux下搭建Kafka集群
搭建Kafka集群需要先搭建好zookeeper集群(具体查看我的上一篇博客)先在/usr/local下下载解压Kafka配置Kafka配置文件(config文件夹下的server.properties)在Kafka的bin目录下启动Kafka需要先搭建好zookeeper集群(具体查看我的上一篇博客)先在/usr/local下下载解压Kafkawget http://mirror.bit....原创 2019-12-18 13:39:54 · 408 阅读 · 0 评论 -
Kafka整合Avrot进行序列化和反序列化
一、在linux上安装confluent下载tar包cd /usr/localtar -zxvf confluent-5.0.0-2.11.tar.gzcd confluent-5.0.0bin/schema-registry-start etc/schema-registry/schema-registry.properties二、添加依赖<dependency> <groupId>org.apache.avro</groupId> &原创 2020-07-31 14:21:45 · 859 阅读 · 0 评论