View definition

(SyncProducer).SendMessage

Defined in github.com/Shopify/sarama/sync_producer.go

Description

SendMessage produces a given message, and returns only when it either has succeeded or failed to produce. It will return the partition and the offset of the produced message, or an error if the message failed to produce.