kinesis

package
v0.7.0-rc.2.0...-d800632 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *backend.Opts) (backend.Backend, error)

New returns a kinesis backend with the corresponding AWS config initialized. Certain configuratino attributes specific to aws-sdk-go must be defined by the user of the adapter via environment variables.

Types

type BackendImpl

type BackendImpl struct {

	// AWS clients
	Kinesis  kinesisiface.KinesisAPI
	DynamoDB dynamodbiface.DynamoDBAPI
	// contains filtered or unexported fields
}

func (*BackendImpl) Check

func (b *BackendImpl) Check(topic string) error

func (*BackendImpl) Close

func (b *BackendImpl) Close() error

func (*BackendImpl) Publish

func (b *BackendImpl) Publish(topic string, data []byte) error

func (*BackendImpl) Subscribe

func (b *BackendImpl) Subscribe(topic string, cb backend.Handler)

Jump to

Keyboard shortcuts

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