资源配置
报错日志
2024-07-17 14:03:18.151 [error] Initiate Resource bridge_mqtt failed, ResId: <<“resource:fd5b678d”>>, {{shutdown,
{failed_to_start_child,
worker_sup,
{shutdown,
{failed_to_start_child,
{worker,
1},
{badmatch,
{error,
enoent}}}}}},
{child,
undefined,
{pool_sup,
‘bridge_mqtt:resource:fd5b678d’},
{ecpool_pool_sup,
start_link,
[‘bridge_mqtt:resource:fd5b678d’,
emqx_bridge_mqtt_actions,
[{max_inflight_batches,
32},
{forward_mountpoint,
“bridge/aws/${node}/”},
{disk_cache,
true},
{start_type,
auto},
{reconnect_delay_ms,
30000},
{if_record_metrics,
false},
{pool_size,
1},
{pool_name,
‘bridge_mqtt:resource:fd5b678d’},
{address,
“10.6.5.175:1883”},
{bridge_mode,
true},
{clean_start,
true},
{clientid,
“admin”},
{connect_module,
emqx_bridge_mqtt},
{keepalive,
60},
{username,
“public”},
{password,
“public”},
{proto_ver,
v4},
{retry_interval,
20000},
{ssl,
false},
{ssl_opts,
[{versions,
[‘tlsv1.2’,
‘tlsv1.1’,
tlsv1]},
{ciphers,
[“ECDHE-ECDSA-AES256-GCM-SHA384”,
“ECDHE-RSA-AES256-GCM-SHA384”]},
{keyfile,
“etc/certs/client-key.pem”},
{certfile,
“etc/certs/client-cert.pem”},
{cacertfile,
“etc/certs/cacert.pem”}]}]]},
transient,
infinity,
supervisor,
[ecpool_pool_sup]}}
2024-07-17 14:03:18.151 [error] Destroy Resource bridge_mqtt failed, ResId: <<“resource:fd5b678d”>>, not_found
2024-07-17 14:03:18.152 [error] cluster_call error found, ResL: [{{init_resource_failure,‘emqx@127.0.0.1’},
{{emqx_bridge_mqtt_actions,
on_resource_create},
{{bridge_mqtt,<<“resource:fd5b678d”>>},
destroy_failed}}}]
2024-07-17 14:03:18.152 [error] [RuleEngineAPI] test_resource_failure: [{{init_resource_failure,
‘emqx@127.0.0.1’},
{{emqx_bridge_mqtt_actions,
on_resource_create},
{{bridge_mqtt,
<<“resource:fd5b678d”>>},
destroy_failed}}}]