kafka
kafka
东山富哥
个人
github地址:https://github.com/gaoxinfu
gitee 地址:https://gitee.com/gaoxinfu_admin
展开
-
kafka异常之Commit cannot be completed since the group has already rebalanced and assigned the partition
1.问题描述org.apache.kafka.clients.consumer.CommitFailedException: Commit cannot be completed since the group has already rebalanced and assigned the partitions to another member. This means that the time between subsequent calls to poll() was longer than th原创 2020-11-14 17:06:34 · 1041 阅读 · 2 评论 -
kafka之如何查看某个topic消息的消费情况
1.问题说明1.我们在推送了消息之后,有的时候,我们希望查看一下多少消费成功了,多少还未消费2.这里我们主要汇总一下 通过命令查看 通过视图界面查看2.解决方案原创 2020-11-12 18:02:26 · 5822 阅读 · 7 评论 -
kafka问题之Listener method could not be invoked with the incoming message
文章目录1.问题描述1.问题描述2020-11-11 16:18:20.180 ERROR 23834 --- [ntainer#1-0-C-1] o.s.kafka.listener.LoggingErrorHandler : Error while processing: ConsumerRecord(topic = sync_product, partition = 0, leaderEpoch = 0, offset = 0, CreateTime = 1605082700035, ser原创 2020-11-11 16:21:42 · 10802 阅读 · 3 评论 -
kafka问题之{sync_service=LEADER_NOT_AVAILABLE}
1.问题描述2020-11-10 14:46:50.919 WARN 25567 --- [ad | producer-1] org.apache.kafka.clients.NetworkClient : [Producer clientId=producer-1] Error while fetching metadata with correlation id 9 : {sync_service=LEADER_NOT_AVAILABLE}2020-11-10 14:46:51.035 WA原创 2020-11-10 14:48:18 · 944 阅读 · 0 评论 -
kafka问题之Topic(s) [sync_service] is/are not present and missingTopicsFatal is true
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-11-10 14:34:33.479 ERROR 23622 --- [ main] o.s.boot.SpringApplication : Application run failedorg.springframewo原创 2020-11-10 14:38:30 · 3180 阅读 · 0 评论 -
kafka安装
文章目录安装包下载安装包下载https://www.apache.org/dyn/closer.cgi?path=/kafka/2.6.0/kafka_2.13-2.6.0.tgzlocalhost:kafka_2.13-2.6.0 gaoxinfu$ pwd/Users/gaoxinfu/using/kafka_2.13-2.6.0localhost:kafka_2.13-2.6.0 gaoxinfu$ ls -latotal 88drwxr-xr-x@ 9 gaoxinfu sta原创 2020-10-20 18:18:20 · 1701 阅读 · 1 评论 -
kafa客户端常用命令介绍
文章目录创建topic以及zk中的变化查看创建topiczk中的变化查看创建topic以及zk中的变化查看创建topic命令bin/kafka-topics.sh --create --topic quickstart-events --bootstrap-server localhost:9092命令解析--create: 指定创建topic动作--topic:指定新建topic的名称--bootstrap-server:服务地址和端口新开一个客户端localhost:kafka_2原创 2020-10-21 11:13:17 · 322 阅读 · 0 评论