Comments (3)
Hi @andsel - there is no API for this - this client has been built to manage subscription identifiers automatically internally when it's supported by the broker.
Not all brokers support subscription identifiers (HiveMQ does) so support has to be checked in the CONNACK connect response.
Managing IDs (and their re-use) can be cumbersome when dealing with a lot of subscriptions.
What's your use case/problem to solve? Maybe we can find an alternative solution...
from hivemq-mqtt-client.
Hi @pglombardo
I'm writing the MQTT 5 support in Moquette broker and using HiveMQ client to create integration tests, in particular I was writing the test to proof the subscription identifier so I was wondering how to value that mqtt property in the the subscribe.
You answered my question, when I'll enable the subscription identifier capability in CONNACK I'll start seeing the subscriptions using it.
Thanks! 👍
from hivemq-mqtt-client.
Excellent - let me know if you have any issues.
from hivemq-mqtt-client.
Related Issues (20)
- MqttAsyncClient sometimes blocking indefinitely on publish HOT 1
- Add documentation on manual message acknowledgement HOT 1
- Make Reconnect Failure Behavior Configurable
- Improve PINGREQ <--> PINGRESP reliability during network change
- Clarify & Improve Exception Handling & Behaviour in Callbacks
- Uses cases for below HiveMQ success codes HOT 3
- Capture WSS with Proxyman
- Manual Acknowledgement doesn't work HOT 6
- Slow Initial Data Transmission Issue in MQTT Client HOT 5
- $share/group/pubq HOT 4
- Mqtt5DisconnectException: Exception while decoding PUBLISH: topic alias must not exceed topic alias maximum HOT 2
- The field `responseTopic` of the class `Mqtt5Publish` returns the fulfilled optional with value `null`
- Async Mqtt3Client does not release threads created by publishes() when disconnected HOT 13
- Can not connect to HiveMQ WebSocket Client HOT 2
- DNS over HTTPS On Android HOT 1
- Unexpected behaviour when subscribing to same topic regular and $shared
- Intellij IDEA: at runDistributable any attempt to connect invokes NoClassDefFoundError sun/misc/Unsafe
- Question. about user properties on automatic reconnect... HOT 3
- Subscriber message,CONNECT failed as CONNACK contained an Error Code: BAD_USER_NAME_OR_PASSWORD HOT 1
- How to see the full error returned from the broker? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hivemq-mqtt-client.