You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "huxihx (Jira)" <ji...@apache.org> on 2019/09/06 03:47:00 UTC
[jira] [Commented] (KAFKA-8818) CreatePartitions Request protocol
documentation
[ https://issues.apache.org/jira/browse/KAFKA-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923907#comment-16923907 ]
huxihx commented on KAFKA-8818:
-------------------------------
Why do you think the array here is invalid? It stores the replica assignment for a new partition. If the replication factor is larger than 1, then assignment must be an array containing all the brokers on which replicas are running.
> 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)