Chia-Ping Tsai created KAFKA-17090:
--------------------------------------

             Summary: 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


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)

Reply via email to