Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayartsev committed Apr 21, 2024
1 parent fd27f86 commit 2bd8fc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/broadway_kafka/producer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ defmodule BroadwayKafka.Producer do
* `:request_timeout` - Optional. Time in milliseconds to be used as a timeout for waiting response from Kafka.
Default is to use `:brod`'s default timeout which is currently 240 seconds.
* `:extra_sock_opts` - Optional. `gen_tcp` socket options. [More info](https://www.erlang.org/doc/man/gen_tcp.html#type-option).
Set to `[:inet6]` if your Kafka broker uses IPv6.
> **Note**: Currently, Broadway does not support all options provided by `:brod`. If you
have a scenario where you need any extra option that is not listed above, please open an
issue, so we can consider adding it.
Expand Down

0 comments on commit 2bd8fc5

Please sign in to comment.