= RabbitMq an amqp implementation = * Links [[amqp]] , [[mqtt]] * Get overview and q length's * curl -k -u user@email.com: https://amqp.cloudamqp.com/api/overview | jq . * curl -k -u user@email.com: https://amqp.cloudamqp.com/api/queues/ | jq . * To filter out some fields with jq * ''' | jq ". | del(.consumer_details)" ''' * ''' | jq .messages ''' == 201905 setup rabbit mq for iot mqtt == {{{ sudo apt-get update sudo apt-get install rabbitmq-server sudo service rabbitmq-server start sudo rabbitmq-plugins enable rabbitmq_mqtt sudo rabbitmq-plugins enable rabbitmq_management }}} * fix with Error: The following plugins could not be found: rabbitmq-management {{{ sudo apt-get remove rabbitmq-server sudo apt-get install rabbitmq-server sudo rabbitmq-plugins enable rabbitmq_management }}} * add user {{{ sudo rabbitmqctl add_user admin admin sudo rabbitmqctl set_user_tags admin administrator }}}