View Source KafkaEx.Protocol.Produce.Message (kafka_ex v0.13.0)
- key: is used for partition assignment, can be nil, when none is provided it is defaulted to nil
- value: is the message to be written to Kafka logs.
- headers: is a list of keys and values that adds metadata to messages
- timestamp: timestamp (
kafka_version: "kayrock"
ONLY)