kafka

package
v0.0.0-...-972b0a0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

type Consumer struct {
	Consumer  *kafka.Consumer
	TimeoutMs int
}

func NewKafkaConsumer

func NewKafkaConsumer(host, topic, groupID string, timeoutMs int) (*Consumer, error)

type Producer

type Producer struct {
	Producer *kafka.Producer
	Topic    string
}

func NewKafkaProducer

func NewKafkaProducer(host, topic string) (*Producer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳