service

package
v0.0.0-...-ff71292 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

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

func InitStream

func InitStream(env *environment.Environment, notification notification.ServiceNotification, saramaConfig *sarama.Config) *Stream

InitStream populate and return a *Stream struct.

func (*Stream) Run

func (stream *Stream) Run(doneChannel chan bool)

Run reads messages from kafka and send to a notification service.

Jump to

Keyboard shortcuts

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