[
https://issues.apache.org/jira/browse/KAFKA-17090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-17090.
------------------------------------
Fix Version/s: 3.9.0
Resolution: Fixed
> Add documentation to CreateTopicsResult#config to remind users that both
> "type" and "document" are null
> --------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-17090
> URL: https://issues.apache.org/jira/browse/KAFKA-17090
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Ming-Yen Chung
> Priority: Minor
> Fix For: 3.9.0
>
>
> CreateTopicsResult#config [0] always has null type and null document, since
> kafka protocol does not declare those fields[1]. However,
> CreateTopicsResult#config reuse the class `ConfigEntry`, and so users may
> expect those fields are defined too.
> [0]
> https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/admin/CreateTopicsResult.java#L68
> [1]
> https://github.com/apache/kafka/blob/trunk/clients/src/main/resources/common/message/CreateTopicsResponse.json#L55
--
This message was sent by Atlassian Jira
(v8.20.10#820010)