How is the kafka offset value computed?

淺唱寂寞╮ 提交于 2019-12-25 08:03:26

问题


Is kafka offeset value unique per partition or per topic (considering same group id)?


回答1:


It is unique per partition. start from zero and long data type.




回答2:


It is a signed long, unique per partition and is incremented for every messages added to the partition log.



来源:https://stackoverflow.com/questions/40094936/how-is-the-kafka-offset-value-computed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!