kafkanotify

package
v0.0.0-...-a096607 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notify

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

func NewKafkaNotify

func NewKafkaNotify(host string, port int, topic string, partition int) *Notify

func (*Notify) Close

func (n *Notify) Close() error

func (*Notify) Connect

func (n *Notify) Connect(ctx context.Context) (err error)

func (*Notify) Notify

func (n *Notify) Notify(_ context.Context, message notify.Message) error

Jump to

Keyboard shortcuts

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