pubsub

package
v0.0.0-...-e91fd00 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferedPublisherWithRetryFactory

func NewBufferedPublisherWithRetryFactory(
	ctx context.Context,
	projectID string,
	batchSize int32,
	flushDelayThreshold *time.Duration,
	maxRetryCount int16,
	initialRetryInterval *time.Duration,
	opts ...option.ClientOption) (publisher.BufferedPublisherWithRetry, error)

NewBufferedPublisherWithRetryFactory - factory that create a pubsub client and then initialize a publisher.BufferedPublisherWithRetry.

func NewPubSubBufferedPublisherFactory

func NewPubSubBufferedPublisherFactory(
	ctx context.Context,
	projectID string,
	batchSize int32,
	flushDelayThreshold *time.Duration,
	opts ...option.ClientOption) (publisher.BufferedPublisher, error)

NewPubSubBufferedPublisherFactory - factory that create a pubsub client and then initialize a publisher.BufferedPublisher.

Types

This section is empty.

Jump to

Keyboard shortcuts

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