broker

package
v0.0.0-...-0366c93 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GROUP_ID = "myGroup"

Variables

This section is empty.

Functions

func Create

func Create(producer *confluentKafka.Producer, data common.VideoConvertData) error

func Subscribe

func Subscribe(consumer *confluentKafka.Consumer, repos *repository.Repository)

Types

type Kafka

type Kafka struct {
	Consumer *kafka.Consumer
	Producer *kafka.Producer
}

func NewKafka

func NewKafka() (*Kafka, error)

Jump to

Keyboard shortcuts

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