Designing a sample application
In this section, we are going to build a sample application using the Kaa IoT stack.
Solution
The solution we are going to build will be similar to the one from Chapter 3, Getting Started with IoT Platforms. We are going to connect a DHT11 sensor to the Raspberry Pi 3 and then transmit the data over to the Kaa IoT platform. Then we'll take that data and pass it on to ThingsBoard to build a visualization. In the next section, we are going to look at the overall architecture of the solution.
Architecture
The following diagram explains the architecture of the solution:

As we can see from the preceding diagram, we are using two open source stacks to build our end-to-end solution.
We are setting up the Kaa SDK on our Raspberry Pi 3 and then sending the DHT11 temperature and humidity data to the Kaa IoT middleware. Next, we are going to set up two REST log appenders that will take care of cascading the data from the IoT middleware to our end clients.
We are going to set...