internal

package
v0.0.0-...-a77181a Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consume

func Consume(ctx context.Context, dialer *kafka.Dialer, bootstrap, topic string) error

func NewDialer

func NewDialer(opts ...DialerOption) *kafka.Dialer

func Ping

func Ping(ctx context.Context, dialer *kafka.Dialer, bootstrap string) error

Types

type DialerOption

type DialerOption func(*kafka.Dialer)

func WithSASLPlain

func WithSASLPlain(username, password string) DialerOption

Jump to

Keyboard shortcuts

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