trustgraph/trustgraph-base/trustgraph/base
cybermaggedon 3505bfdd25
refactor: use one fanout exchange per topic instead of shared topic exchange (#827)
The RabbitMQ backend used a single topic exchange per topicspace
with routing keys to differentiate logical topics. This meant the
flow service had to manually create named queues for every
processor-topic pair, including producer-side topics — creating
phantom queues that accumulated unread message copies indefinitely.

Replace with one fanout exchange per logical topic. Consumers now
declare and bind their own queues on connect. The flow service
manages topic lifecycle (create/delete exchanges) rather than queue
lifecycle, and only collects unique topic identifiers instead of
per-processor (topic, subscription) pairs.

Backend API: create_queue/delete_queue/ensure_queue replaced with
create_topic/delete_topic/ensure_topic (subscription parameter
removed).
2026-04-17 18:01:35 +01:00
..
__init__.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
agent_client.py Add agent explainability instrumentation and unify envelope field naming (#795) 2026-04-13 16:16:42 +01:00
agent_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
async_processor.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
backend.py refactor: use one fanout exchange per topic instead of shared topic exchange (#827) 2026-04-17 18:01:35 +01:00
cassandra_config.py Basic multitenant support (#583) 2025-12-05 21:45:30 +00:00
chunking_service.py Fix RabbitMQ request/response race and chunker Flow API drift (#779) 2026-04-11 01:29:38 +01:00
collection_config_handler.py Address legacy issues in storage management (#595) 2026-01-05 13:45:14 +00:00
config_client.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
consumer.py Refactor: Derive consumer behaviour from queue class (#772) 2026-04-09 09:55:41 +01:00
consumer_spec.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
document_embeddings_client.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
document_embeddings_query_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
document_embeddings_store_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
dynamic_tool_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
embeddings_client.py Batch embeddings (#668) 2026-03-08 18:36:54 +00:00
embeddings_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
flow.py Add docstrings to public classes (#812) 2026-04-16 09:07:08 +01:00
flow_processor.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
graph_embeddings_client.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
graph_embeddings_query_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
graph_embeddings_store_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
graph_rag_client.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
librarian_client.py Refactor: Derive consumer behaviour from queue class (#772) 2026-04-09 09:55:41 +01:00
llm_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
logging.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
metrics.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
parameter_spec.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
processor_group.py Better proc group logging and concurrency (#810) 2026-04-15 14:52:01 +01:00
producer.py Messaging fabric plugins (#592) 2025-12-17 21:40:43 +00:00
producer_spec.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
prompt_client.py fix: replace deprecated asyncio.iscoroutinefunction with inspect.iscoroutinefunction (#819) 2026-04-16 10:57:39 +01:00
publisher.py Messaging fabric plugins (#592) 2025-12-17 21:40:43 +00:00
pubsub.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
pulsar_backend.py refactor: use one fanout exchange per topic instead of shared topic exchange (#827) 2026-04-17 18:01:35 +01:00
rabbitmq_backend.py refactor: use one fanout exchange per topic instead of shared topic exchange (#827) 2026-04-17 18:01:35 +01:00
request_response_spec.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
row_embeddings_query_client.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
serialization.py RabbitMQ pub/sub backend with topic exchange architecture (#752) 2026-04-02 12:47:16 +01:00
spec.py Feature/configure flows (#345) 2025-04-22 20:21:38 +01:00
structured_query_client.py Extend use of user + collection fields (#503) 2025-09-08 18:28:38 +01:00
subscriber.py Fix RabbitMQ request/response race and chunker Flow API drift (#779) 2026-04-11 01:29:38 +01:00
subscriber_spec.py Flow service lifecycle management (#822) 2026-04-16 17:19:39 +01:00
text_completion_client.py Expose LLM token usage across all service layers (#782) 2026-04-13 14:38:34 +01:00
tool_client.py Add docstrings to public classes (#812) 2026-04-16 09:07:08 +01:00
tool_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
tool_service_client.py Tool services - dynamically pluggable tool implementations for agent frameworks (#658) 2026-03-04 14:51:32 +00:00
triples_client.py feat: add type hints to all public functions in trustgraph/base (#803) 2026-04-16 10:08:19 +01:00
triples_query_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00
triples_store_service.py Fix docstring breakage in type hint change (#817) 2026-04-16 10:10:58 +01:00