ManagementClientAsync.topicExistsAsync(String path) 方法

定义

Checks whether a given topic exists or not.

public CompletableFuture<Boolean> topicExistsAsync(String path)

参数

path
String

- Path of the entity to check

返回

CompletableFuture<Boolean>

- True if the entity exists. False otherwise.

例外

IllegalArgumentException

- path is not null / empty / too long / invalid.

适用于