kafka

package
v0.0.0-...-6c28a0e Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSaramaClient

func NewSaramaClient(connectionURL string) (sarama.Client, error)

NewSaramaConfig build new sarama client from URL string.

func NewSaramaConfig

func NewSaramaConfig(connectionURL string) ([]string, *sarama.Config, error)

NewSaramaConfig build new sarama config from URL string.

func NewWatermillPublisher

func NewWatermillPublisher(connection string, logger watermill.LoggerAdapter) (message.Publisher, error)

NewWatermillPublisher build watermill publisher from provided url.

func NewWatermillSubscriber

func NewWatermillSubscriber(connection string, logger watermill.LoggerAdapter) (message.Subscriber, error)

NewWatermillSubscriber build watermill subscriber from provided url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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