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 forAdmin.createDelegationToken(CreateDelegationTokenOptions)
. The API of this class is evolving, seeAdmin
for details.
-
-
Field Summary
-
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
-
Constructor Summary
Constructors Constructor Description CreateDelegationTokenOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
renewers
public CreateDelegationTokenOptions renewers(List<KafkaPrincipal> renewers)
-
renewers
public List<KafkaPrincipal> renewers()
-
maxlifeTimeMs
public CreateDelegationTokenOptions maxlifeTimeMs(long maxLifeTimeMs)
-
maxlifeTimeMs
public long maxlifeTimeMs()
-
-