feat(pulsar-query): 增加按指定url和topic判断是否匹配的接口

This commit is contained in:
2024-01-19 14:35:04 +08:00
parent 2686bf7686
commit 521e82104f
2 changed files with 123 additions and 92 deletions

View File

@@ -36,5 +36,8 @@ public interface PulsarService {
ImmutableList<PulsarTopic> topics(@Query("name") String name, @Query("namespace") String namespace);
@Get("/backlog")
Long backlog(@Query("name") String name, @Query("topic") String topic, @RequestParam("subscription") String subscription);
Long backlog(@Query("name") String name, @Query("topic") String topic, @Query("subscription") String subscription);
@Get("/exists_topic")
Boolean existsTopic(@Query("url") String url, @Query("topic") String topic);
}