Class DescribeTopicsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DescribeTopicsOptions>
org.apache.kafka.clients.admin.DescribeTopicsOptions
Options for
Admin.describeTopics(Collection).Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleanincludeAuthorizedOperations(boolean includeAuthorizedOperations) intpartitionSizeLimitPerResponse(int partitionSizeLimitPerResponse) Sets the maximum number of partitions to be returned in a single response.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
Constructor Details
DescribeTopicsOptions
public DescribeTopicsOptions()
Method Details
timeoutMs
Set the timeout in milliseconds for this operation ornullif the default api timeout for the AdminClient should be used.- Overrides:
timeoutMsin classAbstractOptions<DescribeTopicsOptions>
includeAuthorizedOperations
partitionSizeLimitPerResponse
Sets the maximum number of partitions to be returned in a single response.This option:
- Is only effective when using topic names (not topic IDs).
- Will not be effective if it is larger than the server-side configuration
max.request.partition.size.limit.
- Parameters:
partitionSizeLimitPerResponse- the maximum number of partitions per response
includeAuthorizedOperations
public boolean includeAuthorizedOperations()partitionSizeLimitPerResponse
public int partitionSizeLimitPerResponse()