Skip to content

Commit f122817

Browse files
authored
[fix] [broker] Fix typo in PersistentTopicsBase (apache#22904)
1 parent 6831231 commit f122817

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -4480,11 +4480,11 @@ private CompletableFuture<Void> validateNonPartitionTopicNameAsync(String topicN
44804480
// Partition topic index is 0 to (number of partition - 1)
44814481
if (metadata.partitions > 0 && suffix >= (long) metadata.partitions) {
44824482
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 {}.",
44844484
clientAppId(), topicName, partitionTopicName.getLocalName());
44854485
throw new RestException(Status.PRECONDITION_FAILED,
44864486
"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 "
44884488
+ partitionTopicName.getLocalName());
44894489
} else if (metadata.partitions == 0) {
44904490
log.warn("[{}] Can't create topic {} with \"-partition-\" followed by"

0 commit comments

Comments
 (0)