File tree 1 file changed +2
-2
lines changed
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4480,11 +4480,11 @@ private CompletableFuture<Void> validateNonPartitionTopicNameAsync(String topicN
4480
4480
// Partition topic index is 0 to (number of partition - 1)
4481
4481
if (metadata .partitions > 0 && suffix >= (long ) metadata .partitions ) {
4482
4482
log .warn ("[{}] Can't create topic {} with \" -partition-\" followed by"
4483
- + " a number smaller then number of partition of partitioned topic {}." ,
4483
+ + " a number smaller than number of partition of partitioned topic {}." ,
4484
4484
clientAppId (), topicName , partitionTopicName .getLocalName ());
4485
4485
throw new RestException (Status .PRECONDITION_FAILED ,
4486
4486
"Can't create topic " + topicName + " with \" -partition-\" followed by"
4487
- + " a number smaller then number of partition of partitioned topic "
4487
+ + " a number smaller than number of partition of partitioned topic "
4488
4488
+ partitionTopicName .getLocalName ());
4489
4489
} else if (metadata .partitions == 0 ) {
4490
4490
log .warn ("[{}] Can't create topic {} with \" -partition-\" followed by"
You can’t perform that action at this time.
0 commit comments