You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/09/13 12:20:00 UTC

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

Chia-Ping Tsai created KAFKA-21087:
--------------------------------------

             Summary: 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: Chia-Ping Tsai


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)