Package org.apache.kafka.clients.admin
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionowners()
owners
(List<KafkaPrincipal> owners) If owners is null, all the user owned tokens and tokens where user have Describe permission will be returned.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
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
-