Reputation: 435
I have a retention policy set for 48 hours. So old logs are eventually flushed. But topic's offset number keeps growing. When does this number get reset? What happens when the max offset number is reached? Also, new segments are rolled with base offset as filename at the time of creating new segment.What will be the filenames of .log and .index files when this limit is reached?
The following is the current base offset for log segment :
Upvotes: 4
Views: 4910
Reputation: 8335
The offset is never reset because the max offset value is so big (int64) that you won't ever reach it.
Upvotes: 9