You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/03/01 15:48:00 UTC

[jira] [Updated] (KAFKA-18907) add suitable error message when the appended value is too larger

     [ https://issues.apache.org/jira/browse/KAFKA-18907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chia-Ping Tsai updated KAFKA-18907:
-----------------------------------
    Fix Version/s: 4.1.0

> add suitable error message when the appended value is too larger
> ----------------------------------------------------------------
>
>                 Key: KAFKA-18907
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18907
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 4.1.0
>
>
> In ZooKeeper mode, large config values can be created by appending. In contrast, KRaft mode does not allow this. The root cause is that {{ConfigRecord}} assumes a maximum value size of {{{}Short.MAX_VALUE{}}}. This causes a runtime error, which is then converted to "UnknownServerException" for users, making the issue unclear.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)