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

-s option of subscribe with context prints all active subscriptions of a client #82

Closed
gitseti opened this issue Sep 24, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gitseti
Copy link
Contributor

gitseti commented Sep 24, 2019

Expected behavior

sub -t topic -s should only print the messages received on topic topic.

Actual behavior

The command prints every publish received on any active subscription of the client.

To Reproduce

Subscriber

mqtt> con 
mqttClient-MQTT_5_0-5ec78216-632c-4bf0-81e0-9a864d42d6cd@localhost> sub -t /topic1/
mqttClient-MQTT_5_0-5ec78216-632c-4bf0-81e0-9a864d42d6cd@localhost> sub -t /topic2/ -s
hallo2
hallo1

Publisher

mqttClient-MQTT_5_0-b8afd4bb-6e17-4297-bf6e-3f2c06c0960e@localhost> pub -t /topic2/ -m hallo2
mqttClient-MQTT_5_0-b8afd4bb-6e17-4297-bf6e-3f2c06c0960e@localhost> pub -t /topic1/ -m hallo1

Details

  • Affected HiveMQ CLI version(s): 1.0
  • Used JVM version: 11
@gitseti gitseti added the bug Something isn't working label Sep 24, 2019
@ahelmbr ahelmbr added this to To do in Version 1.0.0 via automation Sep 25, 2019
@gitseti gitseti moved this from To do to In progress in Version 1.0.0 Sep 27, 2019
@gitseti gitseti self-assigned this Sep 27, 2019
@gitseti gitseti moved this from In progress to In Review in Version 1.0.0 Sep 27, 2019
@gitseti gitseti moved this from In Review to Version 1.0.1 in Version 1.0.0 Sep 30, 2019
@gitseti gitseti closed this as completed Sep 30, 2019
@gitseti gitseti added this to Done in Version 1.0.1 Oct 1, 2019
@gitseti gitseti removed this from Version 1.0.1 in Version 1.0.0 Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Version 1.0.1
  
Done
Development

No branches or pull requests

1 participant