kafka

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 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) 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