bus_golang_publisher_aws_kinesis

package module
v0.0.0-...-64c08e6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher[Payload proto.Message] struct {
	// contains filtered or unexported fields
}

func New

func New[Payload proto.Message](
	kinesisClient *kinesis.Client,
	kinesisStreamARN string,
) *Publisher[Payload]

func (*Publisher[Payload]) Publish

func (p *Publisher[Payload]) Publish(ctx context.Context, events []bus.Event[Payload]) error

func (*Publisher[Payload]) Stop

func (p *Publisher[Payload]) Stop() error

Jump to

Keyboard shortcuts

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