spi

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UndeliverableTopic = "oak.undeliverable.activities"

UndeliverableTopic is the topic to which to post undeliverable messages.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(option *Options)

Option specifies a publisher/subscriber option.

func WithDeliveryDelay

func WithDeliveryDelay(delay time.Duration) Option

WithDeliveryDelay sets the delivery delay. Note: Not all message brokers support this option.

func WithPool

func WithPool(size int) Option

WithPool sets the pool size.

type Options

type Options struct {
	PoolSize      int
	DeliveryDelay time.Duration
}

Options contains publisher/subscriber options.

Jump to

Keyboard shortcuts

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