We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5f65b5 commit b9f78c1Copy full SHA for b9f78c1
lib/beeline/topology/stage_supervisor.ex
@@ -60,7 +60,11 @@ defmodule Beeline.Topology.StageSupervisor do
60
# coveralls-ignore-start
61
defp producer_module(_, true = _test_mode?), do: Beeline.DummyProducer
62
# coveralls-ignore-stop
63
- defp producer_module(:kelvin, _), do: Kelvin.InOrderSubscription
+ defp producer_module(:kelvin, _) do
64
+ Code.ensure_loaded!(Kelvin.InOrderSubscription)
65
+ Kelvin.InOrderSubscription
66
+ end
67
+
68
defp producer_module(:volley, _), do: Volley.InOrderSubscription
69
defp producer_module(:dummy, _), do: Beeline.DummyProducer
70
0 commit comments