PulsarLib

package
v0.0.0-...-d91a86f Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConsumer

func CreateConsumer(client *pulsar.Client, topic string, sub_name string) *pulsar.Consumer

func CreateProducer

func CreateProducer(client *pulsar.Client, topic string) *pulsar.Producer

func DestroyConsumer

func DestroyConsumer(consumer *pulsar.Consumer)

func InitClient

func InitClient(URL string) *pulsar.Client

Default configuration URL: "pulsar://localhost:6650"

func ReceiveMessage

func ReceiveMessage(consumer *pulsar.Consumer) []byte

func SendMessage

func SendMessage(producer *pulsar.Producer, message []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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