Skip to main content



      Home
Home » Eclipse Projects » Paho » Is it possible for a subscriber to know a publisher's client ID?
Is it possible for a subscriber to know a publisher's client ID? [message #1798796] Sun, 25 November 2018 08:23 Go to next message
Eclipse UserFriend
I'm using paho as client and mosquitto as broker.

I'm using paho in Python.

Is it possible for a subscriber to know a publisher's client ID?

I appreciate it if you tell me whether it is possible and how to do it.
Re: Is it possible for a subscriber to know a publisher's client ID? [message #1798859 is a reply to message #1798796] Mon, 26 November 2018 12:03 Go to previous messageGo to next message
Eclipse UserFriend
In general for MQTT, the answer is no. The publish/subscribe paradigm intentionally isolates publishers from subscribers. If the publishing application is your own, you could add the client id to the payload.

Re: Is it possible for a subscriber to know a publisher's client ID? [message #1798878 is a reply to message #1798859] Mon, 26 November 2018 18:02 Go to previous message
Eclipse UserFriend
Thank you for your reply. Then I'll add client if in payload.
Previous Topic:Time delayed Condition for MQTT
Next Topic:Configure Mosquitto broker with TLS
Goto Forum:
  


Current Time: Wed Jun 18 21:50:24 EDT 2025

Powered by FUDForum. Page generated in 0.07316 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top