Skip to main content

Step 1: Deploy the MQTT Broker

Overview

An MQTT Broker is the central hub in an MQTT-based communication system. It acts like a post office, receiving messages published by devices (publishers) and securely delivering them to interested devices (subscribers) based on designated topics, ensuring efficient data exchange within your Edge Computing network.

Did you know?

Nodes can talk with MQTT!! It's a messaging protocol, perfect for IoT/Edge nodes. Those nodes publish data to topics and subscribe to hear updates.

Do you want to know more about MQTT? Just check the official spec.

Add the MQTT Broker App to your library

MQTT in Barbara Marketplace

MQTT in Barbara Marketplace

Go to Barbara Marketplace, search for MQTT Broker and add it to your Panel's library.

MQTT Broker - Barbara Marketplace

You will find the MQTT Broker in this link of the Barbara Marketplace .

Once added you will find it in your Barbara PANEL App Library.

note

If you have been given a demo or trial account, this app may be already added to your Library.

Let's deploy it to your Edge Node.

MQTT in Panel's library

MQTT in Panel's library

Install the MQTT Broker App

  1. Head to your Node's details view and click the + Add Card button.

Add New Card

Add New Card

  1. Select the Marketplace app option in the dropdown menu.

Select Marketplace Option

Select Marketplace Option

  1. Select Application and Version: Select the MQTT Broker app from the application dropdown list and pick the latest existing version from the version dropdown list. Then click ADD VARIABLES to proceed with the next step.

Select MQTT Broker

Select MQTT Broker

  1. Add Environment Variables Review the default configuration for env variables or leave it as-is. Technical notes explain each variable on the right side of the view. Once finish, just click CONFIGURE.

Add Env Variables

Add Env Variables

  1. Add your app Config: This step allows you to make some additional configuration through a JSON-format text. However, MQTT Broker does not need any extra configurations to work. Just click "SEND" to finally deploy it to your node.

Configure Application

Configure Application

Verifying the MQTT Broker

Head back to your Node's details view. Within a few seconds, a new card should appear displaying the installed MQTT Broker app. Look for the status label on the card - if it reads STARTED then your MQTT Broker is up and running!

MQTT Broker installed

MQTT Broker installed

Congratulations! Your MQTT Broker is ready to connect your apps!