emqx-extension-examples
emqx-extension-examples copied to clipboard
Cannot find topic name in OnClientUnsubscribe event
When the client unsubscribes to a specific topic, the unsubscribe topic name information cannot found in the exhook event request.
- OS: CentOS 7
- Version: emqx 5.2.0
The build procedure was performed according to your guide.
- https://github.com/emqx/emqx-extension-examples/tree/for-emqx-v44/exhook-svr-python
When operating Unsubscribe, it was checked out that only OnClientUnsubscribe operates in the exhook. The result of the exhook event is as follows.
OnClientUnsubscribe: clientinfo {
node: “[email protected]”
clientid: "client_111”
peerhost: "192.”168.0.101
sockport: 8883
protocol: "mqtt"
anonymous: true
cn: "client"
dn: "CN=client,O=TEST,L=Seoul,ST=Seoul,C=KR"
}
meta {
node: “[email protected]”
version: "5.2.0"
sysdescr: "EMQX"
cluster_name: "emqxcl"
}
I am curious if there are any plans to add unsubscribe target topic name information to clientinfo.
Many thanks and all the best.