Skip to content

Commit

Permalink
Specify headers type on fetch protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
habutre committed May 31, 2021
1 parent 2637b4a commit 91e9626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kafka_ex/protocol/fetch.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91e9626

Please sign in to comment.