jetstream

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JetStreamSink

type JetStreamSink struct {
	*common.Logger
	// contains filtered or unexported fields
}

stub: s *JetStreamSink sink.Sink JetStreamSink ...

func New

func New(name string, v *viper.Viper) (s *JetStreamSink, err error)

New creates a new JetStream sink

func (*JetStreamSink) Close

func (s *JetStreamSink) Close() error

func (*JetStreamSink) Name

func (s *JetStreamSink) Name() string

func (*JetStreamSink) ProcessEventsBatch

func (s *JetStreamSink) ProcessEventsBatch(events []event.Event) error

func (*JetStreamSink) SetLogger

func (s *JetStreamSink) SetLogger(l *common.Logger)

SetLogger sets a logger

func (*JetStreamSink) Stats

func (s *JetStreamSink) Stats() string

func (*JetStreamSink) Status

func (s *JetStreamSink) Status() error

func (*JetStreamSink) Type

func (s *JetStreamSink) Type() string

Jump to

Keyboard shortcuts

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