Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerInput ¶
type KafkaConsumer ¶
type KafkaConsumer struct {
// contains filtered or unexported fields
}
func NewKafkaConsumer ¶
func NewKafkaConsumer(input ConsumerInput) *KafkaConsumer
func (*KafkaConsumer) DecodeAndPrintMsg ¶
func (kc *KafkaConsumer) DecodeAndPrintMsg(msg *sarama.ConsumerMessage) error
func (*KafkaConsumer) GetMsgChan ¶
func (kc *KafkaConsumer) GetMsgChan() chan *sarama.ConsumerMessage
func (*KafkaConsumer) InitSaramaConsumer ¶
func (kc *KafkaConsumer) InitSaramaConsumer() error
func (*KafkaConsumer) Stop ¶
func (kc *KafkaConsumer) Stop()
Click to show internal directories.
Click to hide internal directories.