Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
idomingu opened this issue Mar 6, 2024 · 0 comments
Open

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

idomingu opened this issue Mar 6, 2024 · 0 comments

Comments

@idomingu
Copy link

idomingu commented Mar 6, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant