Malloc memory to store Lua state and callback function from Lua. Connector can support multiple connection by this way. Memory will be freed when connection isn't established successfully or connection is closed by lua call. Stream content in Lua is not the same one with stream content in connector. A loop in test code do the job for continuous query. record is inserted between query actions. |
||
---|---|---|
.. | ||
README.md | ||
build.sh | ||
lua_connector.c | ||
test.lua |
README.md
TDengine driver connector for Lua
It's a Lua implementation for TDengine, an open-sourced big data platform designed and optimized for the Internet of Things (IoT), Connected Cars, Industrial IoT, and IT Infrastructure and Application Monitoring. You may need to install Lua5.3 .
Dependencies
- Lua:
https://www.lua.org/
Run with Sample
Build driver lib:
./build.sh
Run lua sample:
lua test.lua