producer

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package consumer implements producer logic for Apache Kafka

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LikeProducer

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

func NewLikeProducer

func NewLikeProducer(producer *kafka.Producer) *LikeProducer

func (*LikeProducer) ProduceLikesEvents

func (lp *LikeProducer) ProduceLikesEvents(likesEvents []broker.LikeEvent) error

type Producer

type Producer interface {
	ProduceLikesEvents(likesEvents []broker.LikeEvent) error
}

Jump to

Keyboard shortcuts

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