kafka

package
v1.2.8-prerelease1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsumerConstructor

func ConsumerConstructor(cfg *config.YamlNode, params *provider.Params) (messaging.Consumer, error)

ConsumerConstructor is a function that constructs a queue consumer

func ProducerConstructor

func ProducerConstructor(cfg *config.YamlNode, params *provider.Params) (messaging.Producer, error)

ProducerConstructor is a function that constructs a queue producer

Types

type ConnectionConfig

type ConnectionConfig struct {
	Brokers []string    `yaml:"brokers"`
	TLS     config.TLS  `yaml:"tls"`
	SASL    config.SASL `yaml:"sasl"`
}

type QueueConfig

type QueueConfig struct {
	Connection ConnectionConfig `yaml:"connection"`
	Topic      string           `yaml:"topic"`
}

Jump to

Keyboard shortcuts

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