I am trying to send data to Azure IoT Hub from Apache NiFi. Using Publish MQTT processor I am trying to publish data. Is this a right approach to send a data from NiFi to IoT Hub? Is there any other way?
You can use the MQTT protocol directly (as a device) to send and receive data from Azure IoT Hub - like described here: https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support#using-the-mqtt-protocol-directly-as-a-device
As long as you can connect over TLS/SSL you should be fine.
Related
We have requirement, as per design, third party systems will push XML\CSV messages to IBM MQ queues, and we using Azure logic app need to consume those messages and send to Event hub.
My question is
As we dont have MQ available yet, and I am not able to give details in Azure and using Azure queues. Is there anyway we can mock like we are using MQ.
Logic app once receive messages XML can it store to Data lake instead of pushing through Eventhub(as Event hub storing message in AVRO format)
Any suggestions please.
Thanks
As suggested by Roger, you can install the developer version of IBM MQ to mock for Logic App testing.
Once the IBM MQ Queue is available, you can Send message from an on premise IBM MQ to Azure Service Bus queue and also able to Transform and Validate XML for workflows in Logic Apps.
You can refer to Connect to an IBM MQ server from a workflow in Azure Logic Apps, Transform XML for workflows in Azure Logic Apps and Validate XML for workflows in Azure Logic Apps
I have an external MQTT broker and I would like Google IoT cloud platform to subscribe to the broker.
Most of Google IoT examples are written around the Google IoT platform broker, but my broker is external on another platform.
What Google Iot code, methods can you suggest.
I can already verify with MQTT FX program the external broker is working.
You don't.
If you want to send data to the Google IoT platform that is already being published to your broker, then you need to set up a bridge from that broker to the Google IoT platform.
This will need to have the bridge authenticate to the Google IoT platform.
How you set up the bridge will be specific to the type of broker you are already using. E.g. instructions for setting up a bridge with mosquitto are here
I have a device connected to Azure IOT Hub. I have messages coming to the hub for every 20 Sec. Now for every incoming message I have some business logic to execute. I have attached event hub and stream analytics to the IOT Hub to fetch the latest record but again I am only capable of pushing it to BLOB Storage. How can I get the latest message/events as a json out of the system.
I found out that Azure Functions is a go. But I am finding samples from C#, I am looking for JavaScript/Java.
Any Help is appreciated. Thanks
You can attach an Azure Function to your Event Hub with event hub trigger. You can find examples of such function in
Azure Event Hubs bindings for Azure Functions
Processing data from IoT Hub with Azure Functions
Tableau has several data connectors. These all seem to use a request/response mechanism that pulls / polls for data updates.
I have a data service that talks WAMP (web application messaging protocol) using crossbar.io (router) and autobahn-python (wamp producer). Is there a Tableau connector that I could use to consume this service? Or more generally, does Tableau have a connector that can be used to communicate via web sockets?
I collect data from the LoRa node, and then gateway forward to lora server, at last, the data to the lora app server. but i cannot find the following interface.
(https://docs.loraserver.io/lora-app-server/integrate/data/)
enter image description here
You need to implement a MQTT client (or user a command-line one, like mosquitto_sub, as suggested in https://docs.loraserver.io/lora-app-server/integrate/data/) and then subscribe to the receiving topic for the specified node. The image you posted is not an interface but an example message a node will send through the topic. For the case given, appID is "123" and devEUI is "0202020202020202", so you need to subscribe to the following topic to get messages from the node:
application/123/node/0202020202020202/rx
As said, you may consume the messages through a MQTT client (there are plenty of clients for different languages), or from the command line.
Just updating from current versions.
Global integrations
Global integrations are configured through the lora-app-server.toml configuration file and are globally enabled. This means that for every application configured, the application will be published using this / these integration(s).
The following integrations are available:
MQTT
AWS Simple Notification Service
Azure Service Bus
Google Cloud Platform Pub/Sub
Application integrations
Additional to the globally enabled integrations, it is also possible to set up integrations per application.
The following integrations are available:
HTTP
InfluxDB
From: loraserver.io