问题
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