Documentation ¶
Index ¶
- func Client() *client
- func Consumer() iConsumer
- func GetClient(names ...string) *client
- func Init(configs ...Config) (err error)
- func New(conf Config) (*client, error)
- func Producer() iProducer
- type Config
- type ConsumerError
- type ConsumerHandler
- type ConsumerMessage
- type MessageHandler
- type ProducerMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsumerError ¶
type ConsumerError struct {
*sarama.ConsumerError
}
type ConsumerHandler ¶
type ConsumerHandler func(msg *ConsumerMessage, consumerErr *ConsumerError) error
type ConsumerMessage ¶
type ConsumerMessage struct {
*sarama.ConsumerMessage
}
type MessageHandler ¶
type MessageHandler func(msg *ProducerMessage, err error)
type ProducerMessage ¶
type ProducerMessage struct {
*sarama.ProducerMessage
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.