util

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTopicError

func NewTopicError(kError sarama.KError, message string) *sarama.TopicError

Utility Function For Creating A Sarama TopicError With Specified Kafka Error Code (ErrNoError == Success)

func NewUnknownTopicError

func NewUnknownTopicError(message string) *sarama.TopicError

Utility Function For Creating A New ErrUnknownTopicError With Specified Message

func PromoteErrorToTopicError

func PromoteErrorToTopicError(err error) *sarama.TopicError

Utility Function To Up-Convert Basic Errors Into TopicErrors (With Message Matching For Pertinent Errors)

Types

This section is empty.

Jump to

Keyboard shortcuts

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