Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaListener ¶
type KafkaListener struct {
// contains filtered or unexported fields
}
func NewKafkaListener ¶
func NewKafkaListener(brokers []string) *KafkaListener
func (*KafkaListener) Subscribe ¶
func (kl *KafkaListener) Subscribe(topic string, callback func(message *sarama.ConsumerMessage)) error
Click to show internal directories.
Click to hide internal directories.