Skip to content

Support retained message semantics. - #581

Merged
Technoboy- merged 2 commits into
streamnative:masterfrom
Technoboy-:support-retained-msg
Apr 8, 2022
Merged

Technoboy- merged 2 commits into
streamnative:masterfrom
Technoboy-:support-retained-msg

Conversation

@Technoboy-

@Technoboy- Technoboy- commented Apr 8, 2022 •

Copy link
Copy Markdown
Contributor

Fix #250.

Motivation

Support retained message semantics in standalone and cluster.
In standalone mode, the retained message is stored in the memory, which means it may lose data when the broker restart.

Documentation

  • no-need-doc

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #581 (709cb34) into master (add659b) will increase coverage by 0.35%.
The diff coverage is 86.42%.

❗ Current head 709cb34 differs from pull request most recent head 2661055. Consider uploading reports for the commit 2661055 to get more accurate results

@@             Coverage Diff              @@
##             master     #581      +/-   ##
============================================
+ Coverage     74.37%   74.73%   +0.35%     
- Complexity      754      788      +34     
============================================
  Files           100      104       +4     
  Lines          3329     3435     +106     
  Branches        226      232       +6     
============================================
+ Hits           2476     2567      +91     
- Misses          705      713       +8     
- Partials        148      155       +7     
Impacted Files Coverage Δ
...lsar/handlers/mqtt/support/WillMessageHandler.java 79.41% <0.00%> (-4.97%) ⬇️
...upport/systemtopic/DisabledSystemEventService.java 62.50% <0.00%> (-8.93%) ⬇️
...e/pulsar/handlers/mqtt/utils/PulsarTopicUtils.java 77.23% <ø> (+1.23%) ⬆️
...lsar/handlers/mqtt/support/Qos0PublishHandler.java 66.66% <33.33%> (-33.34%) ⬇️
...dlers/mqtt/support/systemtopic/MqttEventUtils.java 75.00% <75.00%> (ø)
...mqtt/support/systemtopic/RetainedMessageEvent.java 80.00% <80.00%> (ø)
...ystemtopic/SystemTopicBasedSystemEventService.java 76.14% <88.88%> (-1.82%) ⬇️
.../handlers/mqtt/support/RetainedMessageHandler.java 90.62% <90.62%> (ø)
...tt/support/DefaultProtocolMethodProcessorImpl.java 78.12% <91.66%> (+0.57%) ⬆️
...e/pulsar/handlers/mqtt/utils/MqttMessageUtils.java 89.47% <93.75%> (+1.66%) ⬆️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update add659b...2661055. Read the comment docs.

@Technoboy-
Technoboy- merged commit 1b47062 into streamnative:master Apr 8, 2022
mattisonchao pushed a commit that referenced this pull request May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support MQTT retained messages semantics.

3 participants