Kaffe.Producer.produce_sync
You're seeing just the function
produce_sync
, go back to Kaffe.Producer module for more information.
Synchronously produce the given key
/value
to the first Kafka topic.
This is a simpler way to produce if you've only given Producer a single topic for production and don't want to specify the topic for each call.
Returns:
* `:ok` on successfully producing the message
* `{:error, reason}` for any error
Synchronously produce the key
/value
to topic
See produce_sync/2
for returns.
Synchronously produce the given key
/value
to the topic
/partition
See produce_sync/2
for returns.