Documentation ¶
Index ¶
Constants ¶
View Source
const TopicReadEvent = "article_read"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Producer ¶
func NewSaramaSyncProducer ¶
func NewSaramaSyncProducer(producer sarama.SyncProducer) Producer
type SaramaSyncProducer ¶
type SaramaSyncProducer struct {
// contains filtered or unexported fields
}
func (*SaramaSyncProducer) ProduceReadEvent ¶
func (r *SaramaSyncProducer) ProduceReadEvent(event ReadEvent) error
Click to show internal directories.
Click to hide internal directories.