GIoT is an open source IoT platform that supports device management, object model, device management, rule engine, multiple storage, multiple sinks, multiple protocols (http, mqtt, tcp, custom protocols), etc. And so on, provide plug-in development.
Quick starter Module
-> giot-starter
by source code.
public class GiotStarter {
public static void main(String[] args) throws FileNotFoundException, ContainerConfigException, ContainerStartException {
Stopwatch sp = Stopwatch.createStarted();
ResourceLoader resourceLoader = new ModuleResourceLoader("application.yml");
ModuleConfiguration moduleConfiguration = resourceLoader.load();
ModuleManager moduleManager = new ModuleManager();
moduleManager.start(moduleConfiguration);
log.info("GIoT server start success, cost time [{}] ms ", sp.elapsed(TimeUnit.MILLISECONDS));
}
}
Follow this document