Package org.apache.kafka.clients.admin
Class DescribeClusterOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DescribeClusterOptions>
org.apache.kafka.clients.admin.DescribeClusterOptions
Options for
Admin.describeCluster()
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Specify if authorized operations should be included in the response.includeAuthorizedOperations
(boolean includeAuthorizedOperations) boolean
Specify if fenced brokers should be included in the response.includeFencedBrokers
(boolean includeFencedBrokers) Set the timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
Constructor Details
-
DescribeClusterOptions
public DescribeClusterOptions()
-
-
Method Details
-
timeoutMs
Set the timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.- Overrides:
timeoutMs
in classAbstractOptions<DescribeClusterOptions>
-
includeAuthorizedOperations
-
includeFencedBrokers
-
includeAuthorizedOperations
public boolean includeAuthorizedOperations()Specify if authorized operations should be included in the response. Note that some older brokers cannot not supply this information even if it is requested. -
includeFencedBrokers
public boolean includeFencedBrokers()Specify if fenced brokers should be included in the response. Note that some older brokers cannot not supply this information even if it is requested.
-