package
0.0.0-20201113072945-941bdb3e51a3
Repository: https://github.com/tuyainc/pulsar-client-go.git
Documentation: pkg.go.dev

# Functions

NewClient returns a Pulsar client for the given configuration options.
NewClientPool initializes a ClientPool.
NewManagedClient returns a ManagedClient for the given address.
NewManagedConsumer returns an initialized ManagedConsumer.
NewManagedProducer returns an initialized ManagedProducer.

# Constants

# Variables

ErrorInvalidSubMode When SubscriptionMode is not one of SubscriptionModeExclusive, SubscriptionModeShard, SubscriptionModeFailover.

# Structs

Client is a Pulsar client, capable of sending and receiving messages and managing the associated state.
ClientConfig is used to configure a Pulsar client.
ClientPool provides a thread-safe store for ManagedClients, based on their address.
ConsumerConfig is used to configure a ManagedConsumer.
ManagedClient wraps a Client with re-connect and connection management logic.
ManagedConsumer wraps a Consumer with reconnect logic.
ManagedProducer wraps a Producer with re-connect logic.
ProducerConfig is used to configure a ManagedProducer.

# Type aliases

SubscriptionMode represents Pulsar's three subscription models.