Skip to content

Commit

Permalink
Add keepalive extra sock opt
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagogsr committed Apr 28, 2022
1 parent 25b73fb commit 5adca19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kaffe/config/producer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ defmodule Kaffe.Config.Producer do
[
auto_start_producers: true,
allow_topic_auto_creation: false,
extra_sock_opts: [keepalive: config_get(:keepalive, false)],
default_producer_config: [
required_acks: config_get(:required_acks, -1),
ack_timeout: config_get(:ack_timeout, 1000),
Expand Down

0 comments on commit 5adca19

Please sign in to comment.