The AzureCaller SIB Caller subscribes to a topic on the mqtt and sends data to Azure storage.
Module | sib_azurecaller |
Version | 1.3.0 |
var azureCallerCustom = { _id: "AzureStorageSample:1", _name: "Custom file for the Azure Storage caller", init: ( thisCaller )=>{}, inputFormat: (topic, msg, cb)=>{ return cb(msg); }, mqtt: "mqtt://localhost", topic: "SIB/AZURE/DATA", loggerCfg: { dest: { file: false, console: true, mqtt: true } }, container: "azureContainer", path: "path/to/file.txt", storageAccount: "bolentdl003", storageAccessKey: "phpX6+woHP/LE7jmhWgkWNu8krQFXV1bdy9zzVSPA1aSXRdbNVfvol6BCc5lCO8jGtihSegnl5klhHiIJ+vdrw==" }; module.exports = azureCallerCustom;