emqx icon indicating copy to clipboard operation
emqx copied to clipboard

expose the `clientid_prefix` configuration of the MQTT bridge in Dashboard

Open lafirest opened this issue 2 years ago • 7 comments

What would you like to be added or enhanced?

@ysfscream Recently some users want to customize the client id of the MQTT bridge, it can be supported by setting the clientid_prefix configuration field, but this field is not visible in Dashboard. A related issue #8498

Why is this needed?

Users want this and it is easy to implement.

lafirest avatar Aug 10 '23 05:08 lafirest

I assigned @HJianBo to this issue as he is in the dashboard team. @HJianBo please assign it to someone else if you think someone else should handle this.

kjellwinblad avatar Aug 21 '23 09:08 kjellwinblad

@wivwiv, FYI

kjellwinblad avatar Aug 22 '23 08:08 kjellwinblad

+1

philippdzm avatar Sep 19 '23 09:09 philippdzm

FYI @ysfscream @wivwiv

id avatar Sep 21 '23 14:09 id

hi, i have the same issue. any updates on this?

i am using EMQX v5.0.24 and i want to get data from remote broker to my local EMQX broker (i am using the ingress function)

i tried to set the clientid_prefix through the configuration file with this configuration below but it is still not working.

bridges { mqtt.test { enable = true server = “server:port” clientid_prefix = “clientid” username = “username” password = “password” reconnect_interval = 15s proto_ver = v4 bridge_mode = false

ingress { remote { topic = “$mytopicname” qos = 1 }

local { topic = "testdata" qos = "${qos}" retain = "${retain}" payload = "${payload}" } } egress { local { topic = "test" }

remote { topic = "test" qos = "${qos}" retain = "${retain}" payload = "${payload}" } } } }

kindly please help me if you have suggestions.

thanks!

tharaadiva avatar Apr 25 '24 09:04 tharaadiva

@tharaadiva The configuration seems to be working, can you provide error logs?

wivwiv avatar Apr 25 '24 09:04 wivwiv

it's just showed up as "disconnected", Screenshot 2024-04-25 115746

tharaadiva avatar Apr 25 '24 09:04 tharaadiva

The client ID prefix config is now configurable from dashboard, at least 5.7.0 has it. Closing this issue. Related fix: https://github.com/emqx/emqx/pull/13216

zmstone avatar Jun 10 '24 08:06 zmstone