package
0.14.0
Repository: https://github.com/apache/pulsar-client-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ConvertFromStringMap convert a string map to a KeyValue []byte.
ConvertToStringMap convert a KeyValue []byte to string map.
Crc32cCheckSum handles computing the checksum.
GetAndAdd perform atomic read and update.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JavaStringHash and Java String.hashCode() equivalent.
No description provided by the author
Murmur3_32Hash use Murmur3 hashing function.
NewBatchBuilder init batch builder and return BatchBuilder pointer.
NewBlockingQueue init block queue and returns a BlockingQueue.
NewBuffer creates and initializes a new Buffer using buf as its initial contents.
No description provided by the author
No description provided by the author
NewConnectionPool init connection pool.
No description provided by the author
NewHTTPLookupService init a http based lookup service struct and return an object of LookupService.
NewKeyBasedBatchBuilder init batch builder and return BatchBuilder pointer.
NewLookupService init a lookup service struct and return an object of LookupService.
NewMemoryLimitController threshold valid range is (0, 1.0).
No description provided by the author
No description provided by the author
NewMetricsProvider returns metrics registered to registerer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseTopicName parse the given topic name and return TopicName.
No description provided by the author
No description provided by the author
TimestampMillis return a time unix nano.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MaxFrameSize limit the maximum size that pulsar allows for messages to be sent.
MaxMessageSize limit message size for transfer.
MessageFramePadding is for metadata and other frame headers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ErrCorruptedMessage is the error returned by ReadMessageData when it has detected corrupted data.
ErrEOM is the error returned by ReadMessage when no more input is available.
No description provided by the author
ErrRequestTimeOut happens when request not finished in given requestTimeout.
No description provided by the author

# Structs

No description provided by the author
ClientHandlerMap is a simple concurrent-safe map for the client type.
No description provided by the author
No description provided by the author
LookupResult encapsulates a struct for lookup a request, containing two parts: LogicalAddr, PhysicalAddr.
MessageReader provides helper methods to parse the metadata and messages from the binary format Wire format for a messages Old format (single message) [MAGIC_NUMBER][CHECKSUM] [METADATA_SIZE][METADATA] [PAYLOAD] Batch format [MAGIC_NUMBER][CHECKSUM] [METADATA_SIZE][METADATA] [METADATA_SIZE][METADATA][PAYLOAD] [METADATA_SIZE][METADATA][PAYLOAD].
No description provided by the author
PartitionedTopicMetadata encapsulates a struct for metadata of a partitioned topic.
No description provided by the author
No description provided by the author
No description provided by the author
TopicName abstract a struct contained in a Topic.

# Interfaces

BatchBuilder is a interface of batch builders.
BlockingQueue is a interface of block queue.
Buffer is a variable-sized buffer of bytes with Read and Write methods.
No description provided by the author
No description provided by the author
Connection is a interface of client cnx.
ConnectionListener is a user of a connection (eg.
ConnectionPool is a interface of connection pool.
No description provided by the author
No description provided by the author
LookupService is a interface of lookup service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

BatcherBuilderProvider defines func which returns the BatchBuilder.
GetTopicsOfNamespaceMode for CommandGetTopicsOfNamespace_Mode.