Documentation ¶ Index ¶ func CreateMessage(data []byte, topic string) *kafka.Message func GetReader() *kafka.Consumer func InitializeAndRunLoop() type Producer func CreateProducer() (Producer, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateMessage ¶ func CreateMessage(data []byte, topic string) *kafka.Message func GetReader ¶ func GetReader() *kafka.Consumer func InitializeAndRunLoop ¶ func InitializeAndRunLoop() Types ¶ type Producer ¶ type Producer interface { Produce(msg *kafka.Message, deliveryChan chan kafka.Event) error } func CreateProducer ¶ func CreateProducer() (Producer, error) Source Files ¶ View all Source files consumer.go producer.go reader.go Click to show internal directories. Click to hide internal directories.