pulsar

package
v0.25.3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(opts *cli.Options) (pulsar.Client, error)

NewClient creates a new pulsar client connection

func Read

func Read(opts *cli.Options) error

func Write

func Write(opts *cli.Options) error

Types

type Pulsar

type Pulsar struct {
	Options *cli.Options
	Client  pulsar.Client
	MsgDesc *desc.MessageDescriptor
	// contains filtered or unexported fields
}

func (*Pulsar) Read

func (p *Pulsar) Read() error

func (*Pulsar) Write

func (p *Pulsar) Write(value []byte) error

Write writes a message to an ActiveMQ topic

Jump to

Keyboard shortcuts

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