![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
kafka
文章平均质量分 66
HD_XB
这个作者很懒,什么都没留下…
展开
-
springboot集成kafka发消息报Exception thrown when sending a message with key= and payload='1' to topic test
本地环境 springboot集成kafka发消息报Exception thrown when sending a message with key='' and payload=‘1’ to topic testorg.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for test-0 due to 30049...原创 2018-05-28 10:25:44 · 6150 阅读 · 0 评论 -
kafka监控获取logSize, offset, lag等信息
由于项目需要,需要查看kafka消费信息lag(lag = logSize - offset)参考https://www.aliyun.com/jiaocheng/775267.html 的实现方式在有些场景无法获取offset的值(具体原因暂不知晓后续研究下)因此决定直接从zookeeper中取offset值一、springboot项目添加依赖<dependency> <g...原创 2018-05-30 14:55:42 · 13817 阅读 · 3 评论