Build a robust publish/subscribe (pub/sub) data communications capability into your GDA using MQTT. Prove you can communicate between your GDA and CDA using this protocol and an MQTT message broker server.
Activities
Continue the work you started in PIOT-INF-06-001, but with the GDA. You'll update your GDA to implement an MQTT client that can publish messages to the same MQTT broker your CDA is already using and receive updates through topic-level subscriptions.
You'll add a simple MQTT client abstraction layer to your GDA (Java) and verify the functionality using existing integration tests (and any others you choose to write) provided as part of the downloaded code.
NOTE: Each chapter requires familiarity with source code version control using Git. If you're unfamiliar with Git, Git branching, or merging, Atlassian has a useful tutorial on these topics, located here: Git Branching
Review the README
Please see README.md for further information on, and use of, this content.
Review the LICENSE and USAGE guidelines
Please see PIOT-DOC-LIC for license and usage information.
Review
Read Chapter 7 of Programming the Internet of Things.
Objective
Build a robust publish/subscribe (pub/sub) data communications capability into your GDA using MQTT. Prove you can communicate between your GDA and CDA using this protocol and an MQTT message broker server.
Activities
Continue the work you started in PIOT-INF-06-001, but with the GDA. You'll update your GDA to implement an MQTT client that can publish messages to the same MQTT broker your CDA is already using and receive updates through topic-level subscriptions.
You'll add a simple MQTT client abstraction layer to your GDA (Java) and verify the functionality using existing integration tests (and any others you choose to write) provided as part of the downloaded code.
Lab Module 07
Lab Module 07 - MQTT Client - Part 2 is focused on building an MQTT client as part of the GDA's functionality.
Step 1: Read the Lab Module Summary and follow the Configuration steps
Step 2: Follow the GDA specific instructions
NOTE: Each chapter requires familiarity with source code version control using Git. If you're unfamiliar with Git, Git branching, or merging, Atlassian has a useful tutorial on these topics, located here: Git Branching
Review the README
Review the LICENSE and USAGE guidelines