Skip to content

Commit b9f78c1

Browse files
committed
Make sure Kelvin.InOrderSubscription is loaded
1 parent d5f65b5 commit b9f78c1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/beeline/topology/stage_supervisor.ex

+5-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ defmodule Beeline.Topology.StageSupervisor do
6060
# coveralls-ignore-start
6161
defp producer_module(_, true = _test_mode?), do: Beeline.DummyProducer
6262
# coveralls-ignore-stop
63-
defp producer_module(:kelvin, _), do: Kelvin.InOrderSubscription
63+
defp producer_module(:kelvin, _) do
64+
Code.ensure_loaded!(Kelvin.InOrderSubscription)
65+
Kelvin.InOrderSubscription
66+
end
67+
6468
defp producer_module(:volley, _), do: Volley.InOrderSubscription
6569
defp producer_module(:dummy, _), do: Beeline.DummyProducer
6670

0 commit comments

Comments
 (0)