kafka

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 6 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 {
	Kafka        *pipeline.Kafka
	SyncProducer sarama.SyncProducer
}

Kafka send message to kafka

func New

func New(kafka *pipeline.Kafka) (kaf *Kafka, err error)

New returns a new Kafka

func (*Kafka) Close added in v1.1.3

func (s *Kafka) Close() error

func (*Kafka) Send

func (s *Kafka) Send(msg *message2.Message) (ok bool, err error)

Send Logic and control

Jump to

Keyboard shortcuts

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