kafka

package
v0.0.0-...-e8c7af5 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kafka

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

func New

func New(url, topic string) (*Kafka, error)

func (*Kafka) Reader

func (k *Kafka) Reader() (*map[string]interface{}, error)

func (*Kafka) Writer

func (k *Kafka) Writer(ctx context.Context, key string, value map[string]interface{}) error

Jump to

Keyboard shortcuts

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