Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticationConfig ¶
type AuthenticationConfig struct { Authentication string Kerberos KerberosConfig }
AuthenticationConfig describes the configuration properties needed authenticate with kafka cluster
func (*AuthenticationConfig) InitFromViper ¶
func (config *AuthenticationConfig) InitFromViper(configPrefix string, v *viper.Viper)
InitFromViper loads authentication configuration from viper flags.
func (*AuthenticationConfig) SetConfiguration ¶
func (config *AuthenticationConfig) SetConfiguration(saramaConfig *sarama.Config)
SetConfiguration set configure authentication into sarama config structure
Click to show internal directories.
Click to hide internal directories.