Contents tagged with IotHub
-
Real world use-cases to set lifetime to the documents in Cosmos DB
While creating a container in Cosmos DB and also while upserting (insert/update) a document in the database, we can set a lifetime or so called Time to Live (ttl) to the documents. The lifetime is in seconds and the documents get deleted from the database after the given seconds are passed from the last modified time of the documents. But why would be a real use-case to leverage this feature?
-
How to send MQTT messages to an Azure IotHub by MQTT.fx client
As clearly stated in the documentation, “IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard". If you need to send MQTT messages to an IotHub and for whatever reason cannot use IotHub standard SDK, then the whole process could be a bit tricky.