View Source KafkaEx.Protocol.Kayrock.ListOffsets.Request protocol (kafka_ex v1.0.0-rc.1)
This protocol is used to build Lists Offsets request.
Implementations must populate the request struct with:
replica_id- Should be -1 for consumerstopics- List of topic/partition/timestamp dataisolation_level(V2+) - 0 for READ_UNCOMMITTED, 1 for READ_COMMITTEDcurrent_leader_epoch(V4+ in Kayrock schema) - Epoch for fencing (-1 = unknown)
All known versions (V0-V5) have explicit implementations.
The Any fallback handles unknown future versions.
Summary
Types
@type t() :: term()
All the types that implement this protocol.