Package org.apache.kafka.clients.admin
Class ListTopicsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<ListTopicsOptions>
org.apache.kafka.clients.admin.ListTopicsOptions
Options for
Admin.listTopics()
.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
listInternal
(boolean listInternal) Set whether we should list internal topics.boolean
Return true if we should list internal topics.Set the timeout in milliseconds for this operation ornull
if the default api timeout for the AdminClient should be used.toString()
Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
Constructor Details
-
ListTopicsOptions
public ListTopicsOptions()
-
-
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<ListTopicsOptions>
-
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. -
toString
-
equals
-
hashCode
public int hashCode()
-