Package org.apache.kafka.clients.admin
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
includeAuthorizedOperations
(boolean includeAuthorizedOperations) int
partitionSizeLimitPerResponse
(int partitionSizeLimitPerResponse) Sets the maximum number of partitions to be returned in a single response.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
-
DescribeTopicsOptions
public DescribeTopicsOptions()
-
-
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<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()
-