Class DescribeDelegationTokenOptions

java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<DescribeDelegationTokenOptions>
org.apache.kafka.clients.admin.DescribeDelegationTokenOptions

@Evolving public class DescribeDelegationTokenOptions extends AbstractOptions<DescribeDelegationTokenOptions>
Options for Admin.describeDelegationToken(DescribeDelegationTokenOptions). The API of this class is evolving, see Admin for details.
  • Constructor Details

    • DescribeDelegationTokenOptions

      public DescribeDelegationTokenOptions()
  • Method Details

    • owners

      If owners is null, all the user owned tokens and tokens where user have Describe permission will be returned.
      Parameters:
      owners - The owners that we want to describe delegation tokens for
      Returns:
      this instance
    • owners

      public List<KafkaPrincipal> owners()