[rabbitmq-discuss] loop_forever() from paho-mqtt python client prevents rabbitmq from stopping
Michael Klishin
mklishin at gopivotal.com
Mon May 19 13:07:30 BST 2014
On 16 May 2014 at 11:35:01, Sok Ann Yap (sokann at gmail.com) wrote:
> > Steps to reproduce (on debian/ubuntu):
>
> 1. Install rabbitmq-server version 3.3.1 following
> http://www.rabbitmq.com/install-debian.html
> 2. As root, run `rabbitmq-plugins enable rabbitmq_mqtt;
> /etc/init.d/rabbitmq-server restart` to enable the mqtt plugin
> 3. As root, run `easy_install paho-mqtt` to install paho-mqtt
> version 0.9
> 4. Copy the sample code from the "Getting Started" section of
> https://pypi.python.org/pypi/paho-mqtt/0.9 as mqtt_test.py,
> replace
> iot.eclipse.org(http://iot.eclipse.org) with localhost
> 5. Run `python mqtt_test.py`, which will print "Connected with
> result
> code 0" and then loop forever
> 6. As root, run `/etc/init.d/rabbitmq-server stop`
Thanks for reporting. This looks like an MQTT plugin issue, investigating.
--
MK
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss
mailing list