Package org.apache.kafka.clients.admin
Class DescribeTopicsOptions
- java.lang.Object
-
- org.apache.kafka.clients.admin.AbstractOptions<DescribeTopicsOptions>
-
- org.apache.kafka.clients.admin.DescribeTopicsOptions
-
@Evolving public class DescribeTopicsOptions extends AbstractOptions<DescribeTopicsOptions>
Options forAdmin.describeTopics(Collection)
. The API of this class is evolving, seeAdmin
for details.
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
-
Constructor Summary
Constructors Constructor Description DescribeTopicsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includeAuthorizedOperations()
DescribeTopicsOptions
includeAuthorizedOperations(boolean includeAuthorizedOperations)
DescribeTopicsOptions
timeoutMs(Integer timeoutMs)
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
-
-
-
-
Method Detail
-
timeoutMs
public DescribeTopicsOptions timeoutMs(Integer 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
public DescribeTopicsOptions includeAuthorizedOperations(boolean includeAuthorizedOperations)
-
includeAuthorizedOperations
public boolean includeAuthorizedOperations()
-
-