Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrokerConfigMapKey = "bootstrapServers" AuthSecretName = "authSecretName" AuthSecretNamespace = "authSecretNamespace" MaxIdleConnectionsKey = "maxIdleConns" MaxIdleConnectionsPerHostKey = "maxIdleConnsPerHost" TlsEnabled = "tls.enabled" TlsCacert = "ca.crt" TlsUsercert = "user.crt" TlsUserkey = "user.key" SaslUser = "user" SaslPassword = "password" SaslType = "saslType" KafkaChannelSeparator = "." )
Variables ¶
This section is empty.
Functions ¶
func FindContainer ¶
func FindContainer(d *appsv1.Deployment, containerName string) *corev1.Container
func GetKafkaAuthData ¶ added in v0.19.1
Types ¶
type KafkaConfig ¶
type KafkaConfig struct { Brokers []string MaxIdleConns int32 MaxIdleConnsPerHost int32 AuthSecretName string AuthSecretNamespace string SaramaSettingsYamlString string }
func GetKafkaConfig ¶
func GetKafkaConfig(configMap map[string]string) (*KafkaConfig, error)
GetKafkaConfig returns the details of the Kafka cluster.
Click to show internal directories.
Click to hide internal directories.