Package org.apache.kafka.clients.admin
Class DescribeClusterOptions
- java.lang.Object
-
- org.apache.kafka.clients.admin.AbstractOptions<DescribeClusterOptions>
-
- org.apache.kafka.clients.admin.DescribeClusterOptions
-
@Evolving public class DescribeClusterOptions extends AbstractOptions<DescribeClusterOptions>
Options forAdmin.describeCluster(). The API of this class is evolving, seeAdminfor details.
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
-
Constructor Summary
Constructors Constructor Description DescribeClusterOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanincludeAuthorizedOperations()Specify if authorized operations should be included in the response.DescribeClusterOptionsincludeAuthorizedOperations(boolean includeAuthorizedOperations)DescribeClusterOptionstimeoutMs(java.lang.Integer timeoutMs)Set the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.-
Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
-
-
-
Method Detail
-
timeoutMs
public DescribeClusterOptions timeoutMs(java.lang.Integer timeoutMs)
Set the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.- Overrides:
timeoutMsin classAbstractOptions<DescribeClusterOptions>
-
includeAuthorizedOperations
public DescribeClusterOptions includeAuthorizedOperations(boolean includeAuthorizedOperations)
-
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.
-
-