emqx-docs icon indicating copy to clipboard operation
emqx-docs copied to clipboard

listeners.ws.default.websocket.compress = true is unuseful!

Open jiangxuhui opened this issue 1 year ago • 7 comments

EMQX version:5.0.6 question: i have modify the emqx.conf.but it seems that is unuseful,why?

image image image

jiangxuhui avatar Mar 17 '23 09:03 jiangxuhui

Hi, @jiangxuhui Thanks for your report. I have tested it in v5.0.21, It works to me. Would you like to give it a try if it's convenient for you?

HJianBo avatar Mar 20 '23 07:03 HJianBo

super mario,there is no version v5.0.21.i try 5.0.20 again image

jiangxuhui avatar Mar 20 '23 07:03 jiangxuhui

i have try version 5.0.20,but it still not unuseful. Did I misunderstand?i dont think the config of ''' websocket.compress = false ''' useful

jiangxuhui avatar Mar 20 '23 08:03 jiangxuhui

Could you execute the following command in your emqx node TO print the final configurations for your default ws listener:

bin/emqx eval 'emqx:get_config([listeners, ws, default])'

HJianBo avatar Mar 20 '23 08:03 HJianBo

ok i will try this command

jiangxuhui avatar Mar 23 '23 02:03 jiangxuhui

eqmx version: 5.0.20 the config of emqx.conf is ok.

image

jiangxuhui avatar Mar 23 '23 03:03 jiangxuhui

just one thing i need to confirm。 the config of

listeners.ws.default {
  # bind = "0.0.0.0:8083"
  # max_connections = 1024000
  # websocket.mqtt_path = "/mqtt"
  websocket.compress = true
}

is it means to compress mqtt message?

jiangxuhui avatar Mar 23 '23 03:03 jiangxuhui