codelipenghui commented on a change in pull request #12818:
URL: https://github.com/apache/pulsar/pull/12818#discussion_r789340203
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java
##########
@@ -225,17 +225,17 @@ public void createPartitionedTopic(
@PathParam("namespace") String namespace,
@ApiParam(value = "Specify topic name", required = true)
@PathParam("topic") @Encoded String encodedTopic,
- @ApiParam(value = "The number of partitions for the topic",
- required = true, type = "int", defaultValue = "0")
- int numPartitions,
+ @ApiParam(value = "The metadata for the topic",
Review comment:
> If you used the original code, since the body must be an integer, the
body {"partitions":"3","properties":{"k1":"v1","k2":"v2"}} cannot be recognized.
Yes, this is my test case, use the new Pulsar Admin version to point to the
old broker.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]