Skip to content

Commit

Permalink
feat: use sqlite instead of inmemory state persistence (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobulcke authored Sep 12, 2024
1 parent 5a6cbdd commit 1c7bbb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@

public class LdioLdesClientBuilder extends LdioComponentBuilder {
public LdioLdesClientBuilder() {
super("Ldio:LdesClient", new HashMap<>(Map.of("source-format", "application/n-quads")));
super("Ldio:LdesClient",
new HashMap<>(Map.of(
"source-format", "application/n-quads",
"state", "sqlite"
))
);
}

public LdioLdesClientBuilder withUrl(String url) {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/ldio-pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"config": {
"urls": "http://test-server/test-collection",
"source-format": "application/n-quads",
"state": "sqlite",
"timestamp-path": "http://www.w3.org/ns/prov#generatedAtTime",
"materialisation": {
"enabled": true,
Expand Down

0 comments on commit 1c7bbb8

Please sign in to comment.