FYI I created a small PR to clarify the documentation. https://github.com/apache/kafka/pull/21079
Best, Jonah On Wed, Oct 29, 2025 at 7:43 PM José Armando García Sancio <[email protected]> wrote: > Hi Jonah, > > Thanks for noticing this. Unfortunately, if we wanted to fix this > limitation, we would need a KIP and update the version of any > message/rpc that want's to remove this length limitation on compact > strings. > > I do find it inconsistent that the Kafka protocol enforces a length > limit of 32kb on compact strings but it doesn't enforce a length limit > on compact bytes. > > Thanks, > -- > -José >
