mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Feature/flow enable api gateway (#356)
* Tweak timeouts, reduce stop time for publishers / subscribers * More APIs working as flow endpoint
This commit is contained in:
parent
027b52cd7c
commit
450f664b1b
19 changed files with 303 additions and 76 deletions
|
|
@ -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:0000",
|
||||
topic="persistent://tg/flow/document-load:0002",
|
||||
schema=JsonSchema(Document),
|
||||
chunking_enabled=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue