constants

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// SettingsConfigMapName is the name of the configmap used to hold eventing-kafka settings
	SettingsConfigMapName = "config-kafka"

	// EventingKafkaSettingsConfigKey is the field in the configmap used to hold eventing-kafka settings
	EventingKafkaSettingsConfigKey = "eventing-kafka"

	// SaramaSettingsConfigKey is the name of the field in the Data section of the eventing-kafka configmap that holds Sarama config YAML
	SaramaSettingsConfigKey = "sarama"

	// VersionConfigKey is the name of the field used to store the version of the configmap data, for upgrade purposes
	VersionConfigKey = "version"

	// DefaultMaxIdleConns is the default values for the cloud events connection argument "MaxIdleConns", if not overridden
	DefaultMaxIdleConns = 1000
	// DefaultMaxIdleConnsPerHost is the default values for the cloud events connection argument "MaxIdleConnsPerHost", if not overridden
	DefaultMaxIdleConnsPerHost = 100

	// ConfigMapHashAnnotationKey is an annotation is used by the controller to track updates
	// to config-kafka and apply them in the dispatcher deployment
	ConfigMapHashAnnotationKey = "kafka.eventing.knative.dev/configmap-hash"

	// CurrentConfigVersion is the current version which should be in the "version" field of the config-kafka configmap
	CurrentConfigVersion = "1.0.0"

	// KafkaSecretKeyNamespace is the username key in the Kafka Auth Config Secret
	KafkaSecretKeyNamespace = "namespace"
	// KafkaSecretKeyUsername is the username key in the Kafka Auth Config Secret
	KafkaSecretKeyUsername = "username"
	// KafkaSecretKeyPassword is the password key in the Kafka Auth Config Secret
	KafkaSecretKeyPassword = "password"
	// KafkaSecretKeySaslType is the SASL type key in the Kafka Auth Config Secret
	KafkaSecretKeySaslType = "sasltype"

	// KnativeLoggingConfigMapNameEnvVarKey Is The Environment Variable Used For Knative Logging Configuration
	KnativeLoggingConfigMapNameEnvVarKey = "CONFIG_LOGGING_NAME" // Note - Matches value of configMapNameEnv constant in Knative.dev/pkg/logging !
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL