eclipse-paho / eclipse-paho/paho.mqtt.java

[Question] Usage of `MqttProperties.setResponseInfo` method

Open
#1,008 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Please fill out the form below before submitting, thank you!

- [ ] ~Bug exists Release Version 1.2.5 ( Master Branch)~
- [ ] ~Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)~
- [ ] ~Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)~

When considering about the `Request/Response` flow in MQTT5, there's a concept of `Response Information` [1] which can be used as the root of a topic tree for a particular Client. However, as I understood this is set from the MQTT broker rather than from the clients. If my understanding is correct, what is the use of the `setResponseInfo` method? If I am mistaken, can you guide me on the correct way of setting the reponse information using clients?

Thanks in advance.

[1] https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Response_Information

Contributor guide

Open the contributing guide

Research direction

Start by reading the MqttProperties.setResponseInfo method and the MQTT 5 Response Information section linked in the issue. Clarify whether clients set this value and explain the intended use of the method; done means the question has an authoritative, unambiguous answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.