共享订阅模块回调参数结构错误,报错

环境信息

  • EMQ X 版本:5.0.0
  • 操作系统及版本:
  • 其他

问题描述

共享订阅回调参数结构错误,报错

配置文件及日志

 Failed to execute {emqx_event_message,on_message_acked,[]}: {error,{invalid_ejson,{<0.2407.0>,#Ref<0.4001000432.4268752897.254554>}},[{jiffy,encode,2,[{file,"jiffy.erl"},{line,99}]},{emqx_json,encode,1,[{file,"emqx_json.erl"},{line,58}]},{emqx_event_message,publish_event_msg,2,[{file,"emqx_event_message.erl"},{line,265}]},{emqx_event_message,on_message_acked,2,[{file,"emqx_event_message.erl"},{line,183}]},{emqx_hooks,safe_execute,2,[{file,"emqx_hooks.erl"},{line,205}]},{emqx_hooks,do_run,2,[{file,"emqx_hooks.erl"},{line,171}]},{emqx_channel,handle_in,2,[{file,"emqx_channel.erl"},{line,652}]},{emqx_connection,with_channel,3,[{file,"emqx_connection.erl"},{line,672}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,369}]},{emqx_connection,process_msg,2,[{file,"emqx_connection.erl"},{line,375}]},{emqx_connection,handle_recv,3,[{file,"emqx_connection.erl"},{line,333}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,236}]}]} mfa: emqx_hooks:safe_execute/2 line: 209

已提交 pr,希望修复共享订阅模块中回调参数结构错误导致报错

非常感谢你的建议,我们已经安排同事处理。
PS:EMQ X 非常欢迎你这样的大佬,有意向的话,可以私信我