会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huxi_2b
We are bypassing the talent and stopping at the station of hard work.
博客园
首页
新随笔
联系
订阅
管理
2019年1月3日
Java API获取consumer group最新提交位移的时间
摘要: 碰到了有人问起这个问题,目前java consumer没有利用OffsetAndMetadata中的metadata字段记录提交的时间,故直接通过java consumer来查询是不行,我们需要直接读取__consumer_offsets,代码如下:
阅读全文
posted @ 2019-01-03 11:52 huxihx
阅读(1805)
评论(15)
推荐(0)
编辑
公告