Class DescribeMirrorsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DescribeMirrorsOptions>
org.apache.kafka.clients.admin.DescribeMirrorsOptions
@Confluent@Evolvingpublic class DescribeMirrorsOptionsextends AbstractOptions<DescribeMirrorsOptions>
Options for
ConfluentAdmin.describeMirrors(Collection, DescribeMirrorsOptions). The API of this class is evolving, see Admin for details.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleandescribeRemoteMirrors(boolean describeRemoteMirrors) Whether to describe the mirror topics on the remote clusters.booleanincludeStateTransitionErrors(boolean includeStateTransitionErrors) linkNames(Collection<String> linkNames) states()states(Collection<String> states) Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
Constructor Details
DescribeMirrorsOptions
public DescribeMirrorsOptions()
Method Details
linkNames
- Returns:
- The link names to filter by.
states
- Returns:
- The states to filter by.
includeStateTransitionErrors
public boolean includeStateTransitionErrors()describeRemoteMirrors
public boolean describeRemoteMirrors()- Returns:
- Whether to describe the mirror topics on the remote clusters. Only works for bidirectional links.
linkNames
- Parameters:
linkNames- Sets the link names to filter by.- Returns:
- The DescribeMirrorsOptions which is updated.
states
- Parameters:
states- Sets the states to filter by.- Returns:
- The DescribeMirrorsOptions which is updated.
includeStateTransitionErrors
describeRemoteMirrors
Whether to describe the mirror topics on the remote clusters. Only works for bidirectional links.