Documentation ¶
Index ¶
Constants ¶
View Source
const ( BrokerConfigMapKey = "bootstrap_servers" 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
}
func GetProvisionerConfig ¶ added in v0.2.1
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.