Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶
func NewConsumer(cfg *ConsumerConfig) (*Consumer, error)
func (*Consumer) ErrorChannel ¶
func (c *Consumer) ErrorChannel() <-chan *MessageError
func (*Consumer) MessageChannel ¶
type ConsumerConfig ¶
type ConsumerGroup ¶
type ConsumerGroup struct {
// contains filtered or unexported fields
}
func NewConsumerGroup ¶
func NewConsumerGroup(cfg *ConsumerGroupConfig) (*ConsumerGroup, error)
func (*ConsumerGroup) ErrorChannel ¶
func (c *ConsumerGroup) ErrorChannel() <-chan *MessageError
func (*ConsumerGroup) MarkOffset ¶
func (c *ConsumerGroup) MarkOffset(msg *Message)
func (*ConsumerGroup) MessageChannel ¶
func (c *ConsumerGroup) MessageChannel() chan *Message
func (*ConsumerGroup) Start ¶
func (c *ConsumerGroup) Start(topic string) error
func (*ConsumerGroup) Stop ¶
func (c *ConsumerGroup) Stop()
type ConsumerGroupConfig ¶
type MessageError ¶
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func NewProducer ¶
func NewProducer(cfg *ProducerConfig) (*Producer, error)
func (*Producer) ErrorChannel ¶
func (p *Producer) ErrorChannel() <-chan *MessageError
func (*Producer) MessageChannel ¶
Click to show internal directories.
Click to hide internal directories.