pubsub

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAckTimeout = errors.New("ack has timed out")
View Source
var (
	ErrTopicNotSpecified = status.Errorf(codes.InvalidArgument, "topic should be fulfilled in the very first message")
)

Functions

func Register

func Register(server *grpc.Server, getInstance func(context.Context) PubSub)

Register the pubsub implementation for the component gRPC service.

Types

type BulkPublisher added in v0.3.0

type BulkPublisher interface {
	contribPubSub.BulkPublisher
}

type PubSub

type PubSub interface {
	// uses contrib state store as base.
	contribPubSub.PubSub
}

PubSub is an interface to perform operations on PubSub. It wraps the contrib interface

Jump to

Keyboard shortcuts

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