# README
Consumer is a modified version of sarama-cluster using database
as offset storage.
etcd
will be supported in future
# Functions
NewClient creates a new client instance.
NewConfig returns a new configuration instance with sane defaults.
NewConsumer initializes a new consumer.
NewConsumerFromClient initializes a new consumer from an existing client.
NewOffsetStash inits a blank stash.
# 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
StrategyRange is the default and assigns partition ranges to consumers.
StrategyRoundRobin assigns partitions by alternating over consumers.
No description provided by the author
# Structs
No description provided by the author
Client is a group client.
Config extends sarama.Config with Group specific namespace.
Consumer is a cluster group consumer.
No description provided by the author
Error instances are wrappers for internal errors with a context and may be returned through the consumer's Errors() channel.
Notification are state events emitted by the consumers on rebalance.
OffsetStash allows to accumulate offsets and mark them as processed in a bulk.
# Interfaces
No description provided by the author
No description provided by the author
PartitionConsumer allows code to consume individual partitions from the cluster.
# Type aliases
No description provided by the author
NotificationType defines the type of notification.
Strategy for partition to consumer assignement.