Skip to content

JoaoBrandao/quarkus-azure-iot-hub-device

Repository files navigation

Quarkus + Azure IoT Hub - device simulator

banner

IoT Hub

There are two types of categories developed for Azure SDK

  • IoT Hub Service SDK
  • IoT Hub Device SDK

The following context will be for Device SDK.

Consume Events from IoT Hub - device

In order to consume events from IoT Hub using the SDK the developer must define two variables.

  • Each type of Protocol is required. (in the example we used MQTT)
  • The device Connection String. (this is unique per device)

In the code the developer must add the proper value CONNECTION_STRING and then run the application banner

Run application locally

To run your application you must run the following command:

mvn quarkus:dev

About

Sample Code to Consume Events from IoT Hub into the Devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages