0

Is there a limit for total no of messages (or records or offsets) within a partition in a topic? I know there is a max. message size limit we can set either per partition or at broker level but I want to know if there is a no of limit for total no or max no of messages within a particular partition.

Thanks

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

1 Answers1

1

There is a theoretical limit. Kafka stores offsets as a Java Long. Therefore, I'd assume it's around Long.MAX_VALUE, but it would take years for you to really reach it.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245