Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

IoT Edge Module that reads from Sql Server using a static sql query

This module use Environmental variables, you can set them in the deployment manifest. Deplyment manifest extract:

"SqlReaderModule": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "myacr.azurecr.io/SqlReaderModule.amd64",
"createOptions": {}
},
"env": {
"ConnectionString": {
"value": ""
},
"SqlQuery": {
"value": "SELECT top 1 * FROM MyTable"
},
"IsSqlQueryJson": {
"value": "false"
},
"PoolingIntervalMiliseconds": {
"value": "60000"
},
"MaxBatchSize": {
"value": "200"
},
"Verbose": {
"value": "true"
}
}
}

"IsSqlQueryJson": true --only used when query output is json, in any other case false

Roadmap improvements

  • Secure connection string
  • Support Stored Procedures

About

IoT Edge Module that execute Sql query and send the result to IoT Hub

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages