dispatcher

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	NatssURL       string
	ClusterID      string
	ClientID       string
	AckWaitMinutes int
	MaxInflight    int
	Cargs          kncloudevents.ConnectionArgs
	Logger         *zap.Logger
	Reporter       eventingchannels.StatsReporter
}

type NatsDispatcher added in v0.26.0

type NatsDispatcher interface {
	Start(ctx context.Context) error
	UpdateSubscriptions(ctx context.Context, name, ns string, subscriptions []eventingduckv1.SubscriberSpec, isFinalizer bool) (map[eventingduckv1.SubscriberSpec]error, error)
	ProcessChannels(ctx context.Context, chanList []messagingv1.Channel) error
}

func NewNatssDispatcher added in v0.26.0

func NewNatssDispatcher(ctx context.Context, args Args) (NatsDispatcher, error)

NewNatssDispatcher returns a new NatsDispatcher.

type SubscriptionChannelMapping

type SubscriptionChannelMapping map[eventingchannels.ChannelReference]map[types.UID]*stan.Subscription

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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