fix: mqtt connector disable bridge_mode

This commit is contained in:
EMQ-YangM 2022-05-13 13:08:04 +08:00
parent bcac65310b
commit 637b81ec18
1 changed files with 4 additions and 1 deletions

View File

@ -241,7 +241,10 @@ basic_config(#{
connect_timeout => 30,
reconnect_interval => ReconnIntv,
proto_ver => ProtoVer,
bridge_mode => true,
%% If haporxy enables mqtt connection packet checking,
%% then using bridge_mode will directly cause the connection to fail.
%% Let's disable bridge_mode.
bridge_mode => false,
username => User,
password => Password,
clean_start => CleanStart,