title: Max number of messages that can be stored in a Kafka topic partition?
body: <p>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?</p>
  <p>The following is the current base offset for log segment :
  <a href="https://i.stack.imgur.com/ojHZd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ojHZd.png" alt="current base offset for log segment" /></a></p>