1.offset保存在zk上
参考:https://blog.csdn.net/weixin_30340353/article/details/95084344
2.offset保存在hbase上
参考:https://www.cnblogs.com/mlxx9527/p/9391944.html
3.offset保存到mysql与redis上:
kafka相关api请参考前面的文章
1.offset保存在zk上
参考:https://blog.csdn.net/weixin_30340353/article/details/95084344
2.offset保存在hbase上
参考:https://www.cnblogs.com/mlxx9527/p/9391944.html
3.offset保存到mysql与redis上:
kafka相关api请参考前面的文章