Skip to content

Kafka logical source using Web of Things (WoT) #59

Description

@idomingu

Would be great to support Kafka as a logical source using the WoT ontology, just like it has already been done for data sources of MQTT or WebSocket type (https://github.com/RMLio/RMLStreamer/blob/development/src/test/resources/WoT)

Here is an example of a Kafka source (extracted from RML-IO specification):

<#KafkaStream> a rml:LogicalSource;
    rml:source [ a rml:Source, td:Thing;
        td:hasPropertyAffordance [
            td:hasForm [
                # URL and content type
                hctl:hasTarget "kafka://localhost:8089/topic";
                hctl:forContentType "application/xml";
                # Kafka parameters through W3C WoT Binding Template for Kafka
                kafka:groupId "MyAwesomeGroup";
            ];
        ];
    ];
    rml:referenceFormulation rml:XPath;
    rml:iterator "/my/xpath";

This extension would improve the interoperability of RMLStreamer with the Web of Things and YARRRML.

Many thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions