Package org.apache.kafka.clients.admin
Class CreateDelegationTokenOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<CreateDelegationTokenOptions>
org.apache.kafka.clients.admin.CreateDelegationTokenOptions
@Evolving public class CreateDelegationTokenOptions extends AbstractOptions<CreateDelegationTokenOptions>
Options for
Admin.createDelegationToken(CreateDelegationTokenOptions)
.
The API of this class is evolving, see Admin
for details.-
Field Summary
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
Constructor Summary
Constructors Constructor Description CreateDelegationTokenOptions()
-
Method Summary
Modifier and Type Method Description long
maxlifeTimeMs()
CreateDelegationTokenOptions
maxlifeTimeMs(long maxLifeTimeMs)
List<KafkaPrincipal>
renewers()
CreateDelegationTokenOptions
renewers(List<KafkaPrincipal> renewers)
Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
CreateDelegationTokenOptions
public CreateDelegationTokenOptions()
-
-
Method Details
-
renewers
-
renewers
-
maxlifeTimeMs
-
maxlifeTimeMs
public long maxlifeTimeMs()
-