inovex / mqtt-stresser

Load testing tool to stress MQTT message broker
Apache License 2.0
256 stars 77 forks source link

Issue #46: The publisher is created before the subscriber, this cause… #47

Closed saurabh21289 closed 3 years ago

saurabh21289 commented 3 years ago

…s some message to be dropped when using QoS 1 and the benchmark gets stuck until the timeout(s) kick-in. This fix moves the creation of the subcriber before the publisher as it is ok for the subscriber to listen on a topic without a publisher than the other way round when using QoS 1.

Signed-off-by: Saurabh Singh saurabhs@akamai.com

hikhvar commented 3 years ago

Thank you for reporting and fixing this bug. :+1: Looks good to me.