kafka

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 18 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, storage storage.Provider) (*Service, error)

func (*Service) Close

func (s *Service) Close() error

func (*Service) History

func (s *Service) History(ctx context.Context, opts *eventgate.HistoryOpts) (*eventgate.Events, error)

func (*Service) Receive

func (*Service) Send

func (s *Service) Send(ctx context.Context, r *eventgate.Event) (*empty.Empty, error)

Jump to

Keyboard shortcuts

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