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

mosquitto_pub qos 0 fails validation with a valid message #838

Closed
vordimous opened this issue Mar 7, 2024 · 0 comments · Fixed by #840
Closed

mosquitto_pub qos 0 fails validation with a valid message #838

vordimous opened this issue Mar 7, 2024 · 0 comments · Fixed by #840
Assignees
Labels
bug Something isn't working

Comments

@vordimous
Copy link
Contributor

Describe the bug
Publishing the same message using mosquitto_pub with qos 1 succeeds, whereas using qos 0 fails. For other mqtt clients, this issue doesn't seem to happen.

To Reproduce
Steps to reproduce the behavior:

  1. run zilla and kafka in docker with these configs: bn.zip
  2. make sure the kafka host in the kafka-asyncapi.yaml is correct
  3. qos 1 command succeeds:
docker run -it --rm eclipse-mosquitto \
mosquitto_pub -V 'mqttv5' --topic 'sensors/1' --message '{"id":"1","status":"hello q 1"}' \
--host 'host.docker.internal' --port 7183 --debug --insecure -q 1
  1. qos 0 command fails:
docker run -it --rm eclipse-mosquitto \
mosquitto_pub -V 'mqttv5' --topic 'sensors/1' --message '{"id":"1","status":"hello q 1"}' \
--host 'host.docker.internal' --port 7183 --debug --insecure -q 0
@vordimous vordimous added the bug Something isn't working label Mar 7, 2024
@bmaidics bmaidics self-assigned this Mar 7, 2024
@bmaidics bmaidics linked a pull request Mar 7, 2024 that will close this issue
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants