All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.kafka.streams.runtime.SaslConfig Maven / Gradle / Ivy

There is a newer version: 3.15.0
Show newest version
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;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy