io.quarkus.kafka.streams.runtime.SaslConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-kafka-streams Show documentation
Show all versions of quarkus-kafka-streams Show documentation
Implement stream processing applications based on Apache Kafka
package io.quarkus.kafka.streams.runtime;
import java.time.Duration;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class SaslConfig {
/**
* SASL mechanism used for client connections
*/
@ConfigItem
public Optional mechanism;
/**
* JAAS login context parameters for SASL connections in the format used by JAAS configuration files
*/
@ConfigItem
public Optional jaasConfig;
/**
* The fully qualified name of a SASL client callback handler class
*/
@ConfigItem
public Optional clientCallbackHandlerClass;
/**
* The fully qualified name of a SASL login callback handler class
*/
@ConfigItem
public Optional loginCallbackHandlerClass;
/**
* The fully qualified name of a class that implements the Login interface
*/
@ConfigItem
public Optional loginClass;
/**
* The Kerberos principal name that Kafka runs as
*/
@ConfigItem
public Optional kerberosServiceName;
/**
* Kerberos kinit command path
*/
@ConfigItem
public Optional kerberosKinitCmd;
/**
* Login thread will sleep until the specified window factor of time from last refresh
*/
@ConfigItem
public Optional kerberosTicketRenewWindowFactor;
/**
* Percentage of random jitter added to the renewal time
*/
@ConfigItem
public Optional kerberosTicketRenewJitter;
/**
* Percentage of random jitter added to the renewal time
*/
@ConfigItem
public Optional kerberosMinTimeBeforeRelogin;
/**
* Login refresh thread will sleep until the specified window factor relative to the
* credential's lifetime has been reached-
*/
@ConfigItem
public Optional loginRefreshWindowFactor;
/**
* The maximum amount of random jitter relative to the credential's lifetime
*/
@ConfigItem
public Optional loginRefreshWindowJitter;
/**
* The desired minimum duration for the login refresh thread to wait before refreshing a credential
*/
@ConfigItem
public Optional loginRefreshMinPeriod;
/**
* The amount of buffer duration before credential expiration to maintain when refreshing a credential
*/
@ConfigItem
public Optional loginRefreshBuffer;
}