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 for Admin.listTopics(). The API of this class is evolving, see Admin for details.
  • Constructor Details

    • ListTopicsOptions

      public ListTopicsOptions()
  • Method Details

    • timeoutMs

      public ListTopicsOptions timeoutMs​(Integer timeoutMs)
      Set the timeout in milliseconds for this operation or null if the default api timeout for the AdminClient should be used.
      Overrides:
      timeoutMs in class AbstractOptions<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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object