diff --git a/src/emqx_shared_sub.erl b/src/emqx_shared_sub.erl index 7ec03cd87..f4b9bf78c 100644 --- a/src/emqx_shared_sub.erl +++ b/src/emqx_shared_sub.erl @@ -126,7 +126,7 @@ dispatch(Group, Topic, Delivery = #delivery{message = Msg}, FailedSubs) -> -spec(strategy() -> random | round_robin | sticky | hash). strategy() -> - emqx:get_env(shared_subscription_strategy, round_robin). + emqx:get_env(shared_subscription_strategy, random). -spec(ack_enabled() -> boolean()). ack_enabled() ->