You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "PoAn Yang (Jira)" <ji...@apache.org> on 2024/07/05 13:40:00 UTC

[jira] [Commented] (KAFKA-17090) Add documentation to CreateTopicsResult#config to remind users that both "type" and "document" are null

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

PoAn Yang commented on KAFKA-17090:
-----------------------------------

Hi [~chia7712], I'm interested in this. May I take it? Thank you.

> 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: Chia-Ping Tsai
>            Priority: Minor
>
> 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)