项目作者: weso

项目描述 :
📚 RDF Stream Validation Library
高级语言: Kotlin
项目地址: git://github.com/weso/turbine.git
创建时间: 2019-04-12T22:01:23Z
项目社区:https://github.com/weso/turbine

开源协议:Apache License 2.0

下载


Snomed logo

Welcome to turbine

Turbine is a library that allows to validate RDF streams against a given schema.

How to use turbine

  1. // Turbine will connect to kafka at the given ip address and to the given topic.
  2. Turbine turbine = new Turbine(new KafkaConsumer("127.0.0.1", "rdf-streams-topic"),
  3. Validator.DEFAULT_SHACLEX_VALIDATOR);
  4. // Start turbine
  5. turbine.run();
  6. // Do whatever you want...
  7. // Will tear down the connection to kafka.
  8. turbine.stop();