GitXplorerGitXplorer
h

mqtt

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
0b9bf23ab9dd3413dba4aaa60e8208015b22346e

Moved handle_publish and added a couple of tests.

hhavarnov committed 2 years ago
Verified
53561ec9a94f2670fed9b64c59f7b3e129734a1d

Basic retain implementation.

hhavarnov committed 2 years ago
Verified
293d247cd4e98fd72ccc21ecad67805a581681b7

cargo clippy.

hhavarnov committed 2 years ago
Verified
cff9bd105f5c2cc9d4f0ff7fec0ecac6afecf38d

Fix workflow.

hhavarnov committed 2 years ago
Verified
b033156fc148223bbe736771391720f7e0734060

cargo fmt.

hhavarnov committed 2 years ago
Verified
28f0b7b0d05654a334f185230e26367f38279cd7

Added test for multiple Connect packets

hhavarnov committed 2 years ago

README

The README file for this repository.

A MQTTv5 broker

  • implemented in safe Rust (using nom-rs, tokio, etc)
  • will support cluster mode

possible soundness issue with cluster mode

  1. client A connects and subscribes to topic T on cluster 1
  2. client B sends message with QoS = 2 on topic T to cluster 2
  3. client A disconnects
  4. cluster 2 forwards message to cluster 1
  5. client A connects to cluster 2 and state is transferred
  6. cluster 1 processes message
  7. ??? client A never sees message