Skip to content

Commit

Permalink
allow partition to be nil in KafkaEx.Protocol.Produce.Request
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruggem committed Jun 3, 2019
1 parent aa1ab28 commit e1e4872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kafka_ex/protocol/produce.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ defmodule KafkaEx.Protocol.Produce do

@type t :: %Request{
topic: binary,
partition: integer,
partition: integer | nil,
required_acks: integer,
timeout: integer,
compression: atom,
Expand Down

0 comments on commit e1e4872

Please sign in to comment.