util

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 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