Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move share name parse to sdk #759

Merged
merged 2 commits into from
Dec 11, 2020
Merged

Move share name parse to sdk #759

merged 2 commits into from
Dec 11, 2020

Conversation

redboltz
Copy link
Owner

No description provided.

It is a breaking change for brokers (servers).
I introduced the breaking change by the following reason.

1. It is a part of MQTT protocol. It can avoid the same logic
imprementation by all broker developer.
2. I have a plan that adding protocol error checking more in the SDK.
   For example, the combination of share name and NL:1 is a protocol
   error.
   In order to ckeck these kind of error, I need to parse share name
   at the SDK side.
@codecov
Copy link

codecov bot commented Dec 11, 2020

Codecov Report

Merging #759 (f140a00) into master (88d0592) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #759   +/-   ##
=======================================
  Coverage   85.55%   85.56%           
=======================================
  Files          60       61    +1     
  Lines        8549     8554    +5     
=======================================
+ Hits         7314     7319    +5     
  Misses       1235     1235           

@redboltz
Copy link
Owner Author

This change affects only broker (server) developers. They need to update their subscribe_handler and unsubscribe_handler.
The contents of entries are subscribe_entry and unsubscribe_entry now.

@redboltz redboltz merged commit 72a94d1 into master Dec 11, 2020
@redboltz redboltz deleted the move_share_name_parse_to_sdk branch December 11, 2020 08:16
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.

1 participant