Skip to content

feat(async): implement RabbitMQ background worker architecture for document ingestion - #18

Merged
Sunnahboy merged 11 commits into
mainfrom
feature/background_workers
Aug 10, 2026
Merged

feat(async): implement RabbitMQ background worker architecture for document ingestion#18
Sunnahboy merged 11 commits into
mainfrom
feature/background_workers

Conversation

@Sunnahboy

Copy link
Copy Markdown
Owner
  • Refactored FastAPI upload flow to publish ingestion jobs asynchronously, returning HTTP 202 Accepted instantly.
  • Introduced RabbitMQManager with connection resilience, channel pooling, and dedicated consumer channels.
  • Implemented robust ingestion worker with prefetch controls, idempotency checks, and dead-letter queue (DLQ) error handling.
  • Added placeholders for specialized OCR and evaluation background workers.
  • Cleaned up routing, exchange declarations, and generation prompt constraints.

@Sunnahboy
Sunnahboy merged commit 9501770 into main Aug 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant