codelipenghui commented on a change in pull request #12818:
URL: https://github.com/apache/pulsar/pull/12818#discussion_r787616684
##########
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 we can't avoid breaking compatibility, we can add a new endpoint in
`v3` REST APIs
--
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]