pulsar

package
v1.9.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPulsar

func NewPulsar(l logger.Logger) pubsub.PubSub

Types

type Pulsar

type Pulsar struct {
	// contains filtered or unexported fields
}

func (*Pulsar) Close added in v1.0.0

func (p *Pulsar) Close() error

func (*Pulsar) Features added in v1.0.0

func (p *Pulsar) Features() []pubsub.Feature

func (*Pulsar) Init

func (p *Pulsar) Init(metadata pubsub.Metadata) error

func (*Pulsar) Publish

func (p *Pulsar) Publish(req *pubsub.PublishRequest) error

func (*Pulsar) Subscribe

func (p *Pulsar) Subscribe(ctx context.Context, req pubsub.SubscribeRequest, handler pubsub.Handler) error

Jump to

Keyboard shortcuts

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