Skip to content

Commit

Permalink
restart consumer group together with manager consumer group
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrbublik committed May 19, 2019
1 parent 60ac0a2 commit ec9299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kafka_ex/consumer_group.ex
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ defmodule KafkaEx.ConsumerGroup do
)
]

supervise(children, strategy: :one_for_all)
supervise(children, strategy: :one_for_all, max_restarts: 0, max_seconds: 1)
end

defp call_manager(supervisor_pid, call) do
Expand Down

0 comments on commit ec9299b

Please sign in to comment.