diff --git a/lib/kafka_ex/protocol/fetch.ex b/lib/kafka_ex/protocol/fetch.ex index a4a62977..27e19460 100644 --- a/lib/kafka_ex/protocol/fetch.ex +++ b/lib/kafka_ex/protocol/fetch.ex @@ -67,7 +67,7 @@ defmodule KafkaEx.Protocol.Fetch do offset: integer, key: binary, value: binary, - headers: list(), + headers: [{key::binary, value::binary}], topic: binary, partition: integer, # timestamp supported for `kafka_version: "kayrock"` ONLY