Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrokerConfigMapKey = "bootstrap_servers" ConsumerModeConfigMapKey = "consumer_mode" ConsumerModePartitionConsumerValue = "partitions" ConsumerModeMultiplexConsumerValue = "multiplex" KafkaChannelSeparator = "." )
View Source
const ( // ConfigMapName is the name of the ConfigMap in the knative-eventing namespace that contains // the subscription information for all kafka Channels. The Provisioner writes to it and the // Dispatcher reads from it. DispatcherConfigMapName = "kafka-channel-dispatcher" )
View Source
const (
// Name is the name of the kafka ClusterChannelProvisioner.
Name = "kafka"
)
Variables ¶
This section is empty.
Functions ¶
func ProvideController ¶
func ProvideController(mgr manager.Manager, config *KafkaProvisionerConfig, logger *zap.Logger) (controller.Controller, error)
ProvideController returns a Provisioner controller.
Types ¶
type KafkaProvisionerConfig ¶
type KafkaProvisionerConfig struct { Brokers []string ConsumerMode cluster.ConsumerMode }
func GetProvisionerConfig ¶
func GetProvisionerConfig(path string) (*KafkaProvisionerConfig, error)
GetProvisionerConfig returns the details of the associated ClusterChannelProvisioner object
Click to show internal directories.
Click to hide internal directories.