[ https://issues.apache.org/jira/browse/KAFKA-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924019#comment-16924019 ]
Fábio Silva commented on KAFKA-8818: ------------------------------------ The syntax on documentation is wrong. To represent an array, the correct syntax is using brackets [], not ARRAY(). “In protocol documentation an array of T instances is referred to as [T].”, says the protocol definition page. > CreatePartitions Request protocol documentation > ----------------------------------------------- > > Key: KAFKA-8818 > URL: https://issues.apache.org/jira/browse/KAFKA-8818 > Project: Kafka > Issue Type: Bug > Components: documentation > Reporter: Fábio Silva > Priority: Major > Labels: documentation, protocol-documentation > > CreatePartitions Request protocol documentation contains a invalid type > ARRAY(INT32) (assignment field), it must be INT32. > Wrong: > {code:java} > assignment => ARRAY(INT32){code} > Correct: > {code:java} > assignment => INT32 > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)