constants

package
v0.23.5 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// DefaultNumPartitions is the KafkaChannel Spec default for the number of partitions
	DefaultNumPartitions = 1
	// DefaultReplicationFactor is the KafkaChannel Spec default for the replication factor
	DefaultReplicationFactor = 1

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

	// SettingsConfigMapMountPath is the mount path of the configmap used to hold eventing-kafka settings
	SettingsConfigMapMountPath = "/etc/" + SettingsConfigMapName

	// 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"

	// 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"
)

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