mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-20 04:45:12 +02:00
consumer.py called unsubscribe() on every flow stop, deleting the server-side subscription cursor. On restart, initial_position='latest' skipped any messages published during the gap — causing intermittent data loss (e.g. graph embeddings silently never reaching Qdrant). Replace unsubscribe() with close() so the cursor survives restarts. Move subscription cleanup to where it belongs: the Pulsar backend's delete_topic(), called by the flow controller on deliberate flow deletion. This was previously a no-op TODO. |
||
|---|---|---|
| .. | ||
| api | ||
| base | ||
| clients | ||
| i18n | ||
| knowledge | ||
| messaging | ||
| objects | ||
| provenance | ||
| schema | ||
| exceptions.py | ||
| log_level.py | ||
| rdf.py | ||