kafka

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(logger *logger.Logger, reader *kafka.Reader, writer *kafka.Writer) (*Service, error)

func (*Service) Close

func (s *Service) Close() error

func (*Service) GetChannel added in v0.1.0

func (s *Service) GetChannel(ctx context.Context) (chan *eventgate.Event, error)

func (*Service) Publish added in v0.1.0

func (s *Service) Publish(ctx context.Context, event *eventgate.Event) error

Jump to

Keyboard shortcuts

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