testing

package
v4.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultConfig

func GetDefaultConfig() (*viper.Viper, error)

GetDefaultConfig returns the configuration at ./config/test.yaml

Types

type Consumer

type Consumer struct {
	// contains filtered or unexported fields
}

func NewConsumer

func NewConsumer(brokerAddress string) (*Consumer, error)

func (*Consumer) Clean

func (c *Consumer) Clean() error

func (*Consumer) Consume

func (c *Consumer) Consume(topic string) (chan *sarama.ConsumerMessage, chan *sarama.ConsumerError)

Jump to

Keyboard shortcuts

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