Triples stream working

This commit is contained in:
Cyber MacGeddon 2025-05-02 16:27:22 +01:00
parent 3d307cfb89
commit 873f7a84e4
4 changed files with 10 additions and 13 deletions

View file

@ -9,7 +9,7 @@ from trustgraph.schema import Document, Metadata
client = pulsar.Client("pulsar://localhost:6650", listener_name="localhost")
prod = client.create_producer(
topic="persistent://tg/flow/document-load:0002",
topic="persistent://tg/flow/document-load:0000",
schema=JsonSchema(Document),
chunking_enabled=True,
)

View file

@ -14,7 +14,7 @@ prod = client.create_producer(
chunking_enabled=True,
)
path = "docs/README.cats"
path = "../trustgraph/docs/README.cats"
with open(path, "r") as f:
# blob = base64.b64encode(f.read()).decode("utf-8")