Task #8872
uzavřený
Ukládat ID klienta, ze kterého chodí zprávy
jak do soubor, tak do logu
The MQTT specification has no field in the PUBLISH packet to specify which publisher a certain message comes from.
I can think of two possible "work-around" implementations:
1) Add the publisher information in the payload of the message. Application level parsing would allow you to retrieve the publisher ID from the message payload.
2) Add the publisher information in the topic. You could concoct a clever topic hierarchy with a level dedicated to the publisher.
- Stav změněn z New na Resolved
- % Hotovo změněn z 0 na 100
- Stav změněn z Resolved na Closed
Také k dispozici: Atom
PDF