Package org.apache.kafka.clients.admin
Class ListTopicsOptions
- java.lang.Object
-
- org.apache.kafka.clients.admin.AbstractOptions<ListTopicsOptions>
-
- org.apache.kafka.clients.admin.ListTopicsOptions
-
@Evolving public class ListTopicsOptions extends AbstractOptions<ListTopicsOptions>
Options forAdmin.listTopics(). 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 ListTopicsOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTopicsOptionslistInternal(boolean listInternal)Set whether we should list internal topics.booleanshouldListInternal()Return true if we should list internal topics.ListTopicsOptionstimeoutMs(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 ListTopicsOptions 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<ListTopicsOptions>
-
listInternal
public ListTopicsOptions listInternal(boolean listInternal)
Set whether we should list internal topics.- Parameters:
listInternal- Whether we should list internal topics. null means to use the default.- Returns:
- This ListTopicsOptions object.
-
shouldListInternal
public boolean shouldListInternal()
Return true if we should list internal topics.
-
-