Comments (1)
As far as I know QoS 0 and 1 are supported in either MQTT version. QoS 2 has not yet been supported, and I cannot speak to whether or not there is a plan to do so. QoS 2 is generally used to prevent duplicate messages on failure to receive PUBACK when using QoS 1, or more specifically QoS 2 provides exactly once semantics meaning the message there is more coordination to prevent a message from being sent again. You can achieve something similar if you use QoS 1 and configure the Pulsar namespace to de-duplicate messages, since that is a supported feature of Pulsar: https://pulsar.apache.org/docs/3.1.x/cookbooks-deduplication/
A QoS 1 publish on a Pulsar namespace with deduplication configured should appear similarly to Pulsar and MQTT clients similar to how you'd expect a QoS 2 message to work. That said the caveat to this is if you do intend to send 2 of the exact same messages in QoS 2 will allow that since they are 2 separate attempts to send messages so consumers will see both messages, however if you deduplicate Pulsar will deduplicate the message on the second attempt. Not a major caveat, but something to consider.
from mop.
Related Issues (20)
- Can not support shared subscription
- Connection is null HOT 1
- Flaky-test: SimpleIntegrationTest.testConsumerDisconnectNotMissingMessage
- Is this still maintained? HOT 7
- MoP proxy does not function properly when running without TLS HOT 1
- MoP Proxy, keep alive is not managed correctly causes connection to fail HOT 13
- MoP Proxy seems redundant, introduces unnecessary complexity HOT 2
- java.nio.file.NoSuchFileException: /tmp/pulsar-nar/pulsar-protocol-handler-mqtt-2.8.1.23.nar-unpacked/UdB3VJeg7mGXymmwakz1bw/META-INF/services/pulsar-protocol-handler.yml HOT 1
- Topic Grant-Permission Operation caused MQTT Clients Disconnected
- The mqtt plug-in shows that the loading is successful, but ports 5682 and 1833 still fail to listen. HOT 2
- [WIP] MIP-? Introduce new implementation for MoP
- Please redo the lookup. Request is denied: namespace=public/default HOT 2
- OPENSSL_internal:WRONG_VERSION_NUMBER excpetion when using MOP TLS Proxy HOT 1
- MQTT retain publishes do not make it to Pulsar HOT 3
- Readme.md states "only MQTT 3.1.1 supported" but code base seems to indicate MQTT 5 is also supported HOT 1
- LWT does not reach Pulsar topic, short cuts QoSPublishHandlers so Qos nor Retain function properly HOT 2
- Resubscribing on previously unsubscribed topic closes connection HOT 1
- LWT fires on graceful disconnect but not on connection loss HOT 1
- Unsubscribed topic, repeatedly kicked out using client connection only. HOT 1
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 mop.