kafka

package
v0.0.0-...-e4482ea Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit()

func Init

func Init(cfg *Config, log *logrus.Entry) error

func Publish

func Publish(topic string, msg []byte) error

func Subscriber

func Subscriber() *serviceImpl

Types

type Config

type Config struct {
	Address string `json:"address" required:"true"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

type Handler

type Handler func([]byte, map[string]string) error

Jump to

Keyboard shortcuts

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