kinesis

package
v0.0.0-...-8b28c19 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKinesisStreamer

func NewKinesisStreamer(opts ...KinesisStreamerOption) (streamer.Streamer, error)

NewKinesisStreamer -

Types

type KinesisStreamer

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

KinesisStreamer -

func (KinesisStreamer) Push

func (streamer KinesisStreamer) Push(ctx context.Context, records []streamer.Record) error

Push implementes Streamer interface

type KinesisStreamerOption

type KinesisStreamerOption func(*KinesisStreamer) error

func WithKinesisReagion

func WithKinesisReagion(region string) KinesisStreamerOption

func WithKinesisStreamName

func WithKinesisStreamName(name string) KinesisStreamerOption

Jump to

Keyboard shortcuts

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