Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TopicSyncProducer ¶
type TopicSyncProducer struct { sarama.SyncProducer // contains filtered or unexported fields }
func NewSyncProducer ¶
func NewSyncProducer(addr []string, topic string) (*TopicSyncProducer, error)
func (*TopicSyncProducer) SendJSONMessage ¶
func (p *TopicSyncProducer) SendJSONMessage(event interface{}) error
Click to show internal directories.
Click to hide internal directories.