Documentation ¶
Overview ¶
Package publisher provides a basic kafka event publisher
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaPublisher ¶
type KafkaPublisher struct { // Broker is a list of Kafka brokers Broker []string // Config is the configuration for the Kafka event source Config kafkaconfig.Config }
KafkaPublisher is a publisher that sends messages to a Kafka topic
func NewKafkaPublisher ¶
func NewKafkaPublisher(broker []string) *KafkaPublisher
NewKafkaPublisher creates a new KafkaPublisher
Click to show internal directories.
Click to hide internal directories.