Documentation ¶
Index ¶
- Variables
- type Kafka
- func (k *Kafka) Close()
- func (k *Kafka) Incoming() <-chan Message
- func (k *Kafka) Listen(topic string, partition int32, offset int64) error
- func (k *Kafka) ListenNewest(topic string, partition int32) error
- func (k *Kafka) ListenOldest(topic string, partition int32) error
- func (k *Kafka) Outgoing() <-chan transmithandler.Transmit
- func (k *Kafka) Send(key, val []byte, topic string) (partition int32, offset int64, err error)
- func (k *Kafka) Unlisten(topic string, partition int32) error
- type Message
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBrokers = errors.New("No kafka brokers found")
View Source
var ErrTransmitHandlerClosed = errors.New("Transmit handler has closed")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.