From 019ee9f3cc116051aa10b4348562d948746963ca Mon Sep 17 00:00:00 2001 From: auke Date: Sun, 1 Mar 2020 10:58:43 +0000 Subject: [PATCH] Update page 'Message Queue Endpoint' --- Message-Queue-Endpoint.md | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Message-Queue-Endpoint.md b/Message-Queue-Endpoint.md index 455c337..2ebb78d 100644 --- a/Message-Queue-Endpoint.md +++ b/Message-Queue-Endpoint.md @@ -58,6 +58,20 @@ To create messages and connect to the broker we will need the following settings All settings are required except for the `META_DATA_URL`, this parameter is optional. # [FAQ](#faq) +#### How do I install the required Python modules? +This tutorial requires the `paho-mqtt` and `protobuf` modules. +These can be installed with the following commands: + +**Windows command prompt:** +``` +py -m pip install 'paho-mqtt==1.5.0' +py -m pip install 'protobuf==3.11.0' +``` +**Linux terminal:** +``` +python3 -m pip install 'paho-mqtt==1.5.0' +python3 -m pip install 'protobuf==3.11.0' +``` #### What is a message queue? A message queue is commonly used to make software programs able to send messages between eachother, and thereby making it easy for data to flow from one program into another. There are many variants of message queues, some popular names are Apache Kafka, MQTT and RabbitMQ. @@ -78,19 +92,4 @@ To quote the Google Documentation: > Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. > You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages. -More information can be found in the [protobuf documentation](https://developers.google.com/protocol-buffers/docs/overview). - -#### How do I install the required Python modules? -This tutorial requires the `paho-mqtt` and `protobuf` modules. -These can be installed with the following commands: - -**Windows command prompt:** -``` -py -m pip install 'paho-mqtt==1.5.0' -py -m pip install 'protobuf==3.11.0' -``` -**Linux terminal:** -``` -python3 -m pip install 'paho-mqtt==1.5.0' -python3 -m pip install 'protobuf==3.11.0' -``` \ No newline at end of file +More information can be found in the [protobuf documentation](https://developers.google.com/protocol-buffers/docs/overview). \ No newline at end of file