Package org.apache.kafka.clients.admin
Class ListMirrorsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<ListMirrorsOptions>
org.apache.kafka.clients.admin.ListMirrorsOptions
Options for
ConfluentAdmin.listMirrors(ListMirrorsOptions)
.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether to include stopped mirror topics.includeStopped
(boolean includeStopped) Sets whether to include stopped mirror topics.linkName()
The link name whose mirrors should be listed, or all if empty.The link name whose mirrors should be listed, or all if empty.boolean
Whether to list the mirror topics on the remote clusters.listRemoteMirrors
(boolean listRemoteMirrors) Sets whether to list remote mirror topics.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
ListMirrorsOptions
public ListMirrorsOptions()
-
-
Method Details
-
linkName
The link name whose mirrors should be listed, or all if empty. -
linkName
The link name whose mirrors should be listed, or all if empty. -
includeStopped
public boolean includeStopped()Whether to include stopped mirror topics. -
listRemoteMirrors
public boolean listRemoteMirrors()Whether to list the mirror topics on the remote clusters. Only works for bidirectional links. -
includeStopped
Sets whether to include stopped mirror topics. -
listRemoteMirrors
Sets whether to list remote mirror topics.
-