View Source KafkaEx.Protocol.Kayrock.Produce.Request protocol (kafka_ex v1.0.0-rc.1)
This protocol is used to build Produce requests.
Implementations must populate the request struct with:
acks- Required acknowledgments (-1, 0, or 1)timeout- Request timeout in millisecondstopic_data- List of topic/partition/messages datatransactional_id(V3+ only) - Transaction ID for transactional producers
All known versions (V0-V8) have explicit implementations.
The Any fallback handles unknown future versions.
Summary
Types
@type t() :: term()
All the types that implement this protocol.