Hopefully this will help explain the reason behind the 2g limit https://issues.apache.org/jira/browse/KAFKA-1670?focusedCommentId=14161185&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14161185
On Wed, Mar 18, 2020 at 2:10 AM 张祥 <xiangzhang1...@gmail.com> wrote: > Hi community, > > I understand that there are two configs regarding segment file size, > log.segment.bytes for broker and segment.bytes for topic. The default > values are both 1G and they are required to be an integer so they cannot > be larger than 2G. My question is, assuming I am not making any mistakes, > what is the reason that log segment size is limited below 2G ? Thanks. >