You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Marina <pp...@yahoo.com.INVALID> on 2015/08/10 03:32:47 UTC

roll-over of offset values?

Hi, 
I was wondering what is the process, if any, of "re-setting" offset values when, for example, they reach some max value?The obvious max value to think about would be the 
Long.MAX_VALUE =  9223372036854775807
Even though it is very large, theoretically one might generate that many events in the life-time of its application :) And even if not going to that extreme - there might be other reasons to "reset the clock" so to speak - as the numbers are getting bigger and bigger and harder to evaluate at a glance. For example, I might want to reset offsets to 0 every 10Billion events or so.
thanks!Marina