Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private TopicName(String completeTopicName) {
if (!completeTopicName.contains("://")) {
// The short topic name can be:
// - <topic>
// - <property>/<namespace>/<topic>
// - <tenant>/<namespace>/<topic>
String[] parts = StringUtils.split(completeTopicName, '/');
if (parts.length == 3) {
completeTopicName = TopicDomain.persistent.name() + "://" + completeTopicName;
Expand Down Expand Up @@ -263,9 +263,9 @@ public boolean isPartitioned() {
* For partitions in a topic, return the base partitioned topic name.
* Eg:
* <ul>
* <li><code>persistent://prop/cluster/ns/my-topic-partition-1</code> -->
* <code>persistent://prop/cluster/ns/my-topic</code>
* <li><code>persistent://prop/cluster/ns/my-topic</code> --> <code>persistent://prop/cluster/ns/my-topic</code>
* <li><code>persistent://tenant/cluster/ns/my-topic-partition-1</code> -->
* <code>persistent://tenant/cluster/ns/my-topic</code>
* <li><code>persistent://tenant/cluster/ns/my-topic</code> --> <code>persistent://tenant/cluster/ns/my-topic</code>
* </ul>
*/
public String getPartitionedTopicName() {
Expand Down Expand Up @@ -437,7 +437,7 @@ public boolean includes(TopicName otherTopicName) {
}

/**
* Returns true if this a V2 topic name prop/ns/topic-name.
* Returns true if this a V2 topic name tenant/ns/topic-name.
* @return true if V2
*/
public boolean isV2() {
Expand Down
Loading