Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
heesung-sn committed Nov 1, 2024
1 parent f5991a8 commit 6214fe9
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public static String getNonPartitionedTopic(PulsarAdmin admin, String topicPrefi
throws Exception {
String nsName = generateNamespaceName();
admin.namespaces().createNamespace("public/" + nsName);
return generateTopicName(nsName, topicPrefix, isPersistent);

//TODO: Pass isPersistent, reported in https://github.com/apache/pulsar/issues/23541
return generateTopicName(nsName, topicPrefix, true);
}

public static String getPartitionedTopic(PulsarAdmin admin, String topicPrefix, boolean isPersistent,
Expand All @@ -68,7 +70,9 @@ public static String getPartitionedTopic(PulsarAdmin admin, String topicPrefix,
}
String nsName = generateNamespaceName();
admin.namespaces().createNamespace("public/" + nsName);
String topicName = generateTopicName(nsName, topicPrefix, isPersistent);

//TODO: Pass isPersistent, reported in https://github.com/apache/pulsar/issues/23541
String topicName = generateTopicName(nsName, topicPrefix, true);
admin.topics().createPartitionedTopic(topicName, partitions);
return topicName;
}
Expand Down

0 comments on commit 6214fe9

Please sign in to comment.