franz

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCertificates        = fmt.Errorf("error loading certificates")
	ErrCertificateNotFound = fmt.Errorf("error certificate not found")
	ErrUserCertificate     = fmt.Errorf("error loading user certificate")
)
View Source
var ErrSendingMessage = errors.New("error sending message")

Functions

func CreateConsumerGroup

func CreateConsumerGroup(brokers, cg, username, password string, isSSL bool, certsPath string, isOldest bool, l logger.Logger) (*consumerGroup, error)

CreateConsumerGroup create and configure a new consumer group.

func CreateProducer

func CreateProducer(brokers, username, password string, retries int, isSSL bool, certsPath string, l logger.Logger) (*producer, error)

CreateProducer create and configure a new message sender.

Types

This section is empty.

Jump to

Keyboard shortcuts

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