Update page 'Message Queue Endpoint'
This commit is contained in:
parent
b88cb0d7da
commit
019ee9f3cc
@ -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.
|
||||
@ -79,18 +93,3 @@ To quote the Google Documentation:
|
||||
> 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'
|
||||
```
|
Loading…
Reference in New Issue
Block a user