kafka

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Overview

This is the dummy code to pass the compile when Kafka is not enabled. Cannot enable Kafka by default due to confluent-kafka-go not supporting cross-compilation. Try adding -tags=kafka to build when you need Kafka.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentOptions

func NewAgentOptions(configMap *KafkaOptions, clusterName, agentID string) *options.CloudEventsAgentOptions

func NewSourceOptions

func NewSourceOptions(configMap *KafkaOptions, sourceID string) *options.CloudEventsSourceOptions

Types

type KafkaOptions

type KafkaOptions struct {
	ConfigMap map[string]interface{}
}

func BuildKafkaOptionsFromFlags

func BuildKafkaOptionsFromFlags(configPath string) (*KafkaOptions, error)

Jump to

Keyboard shortcuts

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