kafka

package
v5.4.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorNotifierKafka

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

func New

func New(ctx context.Context, log log.Log, serviceName string, topic string, producer *kafka.Producer) *ErrorNotifierKafka

func (*ErrorNotifierKafka) Send4XX

func (e *ErrorNotifierKafka) Send4XX(ctx context.Context, errorCode string, err error, stackTrace string, errorData interface{}) error

func (*ErrorNotifierKafka) Send5XX

func (e *ErrorNotifierKafka) Send5XX(ctx context.Context, errorCode string, err error, stackTrace string, errorData interface{}) error

Jump to

Keyboard shortcuts

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