You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jun Rao (Jira)" <ji...@apache.org> on 2026/09/14 20:09:00 UTC

[jira] [Commented] (KAFKA-21087) The topic internal config should be returned if it is set at the broker level

    [ https://issues.apache.org/jira/browse/KAFKA-21087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115307#comment-18115307 ] 

Jun Rao commented on KAFKA-21087:
---------------------------------

We want to do this consistently in both createTopics and describeConfigs response.

> The topic internal config should be returned if it is set at the broker level
> -----------------------------------------------------------------------------
>
>                 Key: KAFKA-21087
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21087
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Jheng-Sing Chen
>            Priority: Minor
>
> We don't have any internal config that can be set at both the broker and topic levels, so this is a potential bug.
> The topic internal config is returned to users only if it is set at the topic level (see below snippet). However, the topic internal config can also be changed by either server properties or cluster-wide dynamic config, so the logic is inconsistent.
> {code:java}
>               // Internal configs are reported only when set on the topic itself, consistent with the CreateTopics response.
>               createResponseConfig(resource, logConfig, logConfig.overriddenConfigs, createTopicConfigEntry(logConfig, topicProps, includeSynonyms, includeDocumentation)(_, _)) {code}



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