package
0.7.0
Repository: https://github.com/polarstreams/polar.git
Documentation: pkg.go.dev

# Functions

GetPrimaryTokenIndex returns the broker index of the start token in a given range.
No description provided by the author
Gets a token based on a murmur3 hash.
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
NewTopology creates a Topology struct using brokers in ordinal order.
Creates a new TrackedConnection using the provided tcp conn.
OrdinalsPlacementOrder gets a slice of ordinals in the placement order.
No description provided by the author
No description provided by the author
Gets the start and end of a range based on the token, range index and cluster size.

# 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
{uint32_length}{bytes}{uint32_length}{bytes}...
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

# Variables

Peer processed the GET request, but didn't found the information that was looking for.

# Structs

BrokerInfo contains information about a broker.
ConsumerGroup contains info about a single group of consumers.
No description provided by the author
Represents a point-in-time set of ranges.
Represents a unique reference to a generation.
Represents a topic offset for a given token.
No description provided by the author
Represents an identifier of an offset to be persisted.
Represents an identifier and a value of an offset.
No description provided by the author
Represents slices of the token range between two tokens.
TopicDataId contains information to locate a certain piece of data.
No description provided by the author
TopologyInfo represents a snapshot of the current placement of the brokers.
TrackedConnection represents a net connection over http that contains information about whether it's open/closed.

# Interfaces

Represents a writer backed by an in-memory buffer.
No description provided by the author
No description provided by the author
No description provided by the author
Represents a local view of the consumer group offsets.
Represents an error while producing that we are certain it caused side effect in the data store.
Replicator contains logic to send data to replicas.
SegmentChunk represents a group of compressed records.

# Type aliases

BrokerIndex represents the position of a broker in the current broker list.
GenStatus determines the state (proposed, accepted, ...) of the status.
No description provided by the author
No description provided by the author
No description provided by the author
Represents an index in the token range.
No description provided by the author
Represents a partition token.
No description provided by the author