diff --git a/apps/iot/src/iot_sup.erl b/apps/iot/src/iot_sup.erl index 1cd72c6..5479484 100644 --- a/apps/iot/src/iot_sup.erl +++ b/apps/iot/src/iot_sup.erl @@ -64,6 +64,15 @@ init([]) -> modules => ['iot_zd_endpoint'] }, + #{ + id => 'iot_zd_consumer', + start => {'iot_zd_consumer', start_link, []}, + restart => permanent, + shutdown => 2000, + type => worker, + modules => ['iot_zd_consumer'] + }, + #{ id => 'iot_jinzhi_endpoint', start => {'iot_jinzhi_endpoint', start_link, []},