Class AbstractOptions<T extends AbstractOptions>

java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<T>
Direct Known Subclasses:
AbortTransactionOptions, AddRaftVoterOptions, AlterClientQuotasOptions, AlterConfigsOptions, AlterConsumerGroupOffsetsOptions, AlterPartitionReassignmentsOptions, AlterReplicaLogDirsOptions, AlterUserScramCredentialsOptions, CreateAclsOptions, CreateDelegationTokenOptions, CreatePartitionsOptions, CreateTopicsOptions, DeleteAclsOptions, DeleteConsumerGroupOffsetsOptions, DeleteConsumerGroupsOptions, DeleteRecordsOptions, DeleteTopicsOptions, DescribeAclsOptions, DescribeClientQuotasOptions, DescribeClusterOptions, DescribeConfigsOptions, DescribeConsumerGroupsOptions, DescribeDelegationTokenOptions, DescribeFeaturesOptions, DescribeLogDirsOptions, DescribeMetadataQuorumOptions, DescribeProducersOptions, DescribeReplicaLogDirsOptions, DescribeTopicsOptions, DescribeTransactionsOptions, DescribeUserScramCredentialsOptions, ElectLeadersOptions, ExpireDelegationTokenOptions, FenceProducersOptions, ListClientMetricsResourcesOptions, ListConsumerGroupOffsetsOptions, ListConsumerGroupsOptions, ListOffsetsOptions, ListPartitionReassignmentsOptions, ListTopicsOptions, ListTransactionsOptions, RemoveMembersFromConsumerGroupOptions, RemoveRaftVoterOptions, RenewDelegationTokenOptions, UnregisterBrokerOptions, UpdateFeaturesOptions

public abstract class AbstractOptions<T extends AbstractOptions> extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The timeout in milliseconds for this operation or null if the default api timeout for the AdminClient should be used.
    timeoutMs(Integer timeoutMs)
    Set the timeout in milliseconds for this operation or null if the default api timeout for the AdminClient should be used.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractOptions

      public AbstractOptions()
  • Method Details

    • timeoutMs

      public T timeoutMs(Integer timeoutMs)
      Set the timeout in milliseconds for this operation or null if the default api timeout for the AdminClient should be used.
    • timeoutMs

      public Integer timeoutMs()
      The timeout in milliseconds for this operation or null if the default api timeout for the AdminClient should be used.