Skip to content

Feature/rabbitmq integration - #4

Merged
GiorgiZanqaidze merged 14 commits into
mainfrom
feature/rabbitmq-integration
Dec 15, 2025
Merged

Feature/rabbitmq integration#4
GiorgiZanqaidze merged 14 commits into
mainfrom
feature/rabbitmq-integration

Conversation

@GiorgiZanqaidze

@GiorgiZanqaidze GiorgiZanqaidze commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Add RabbitMQ-based async processing for video transcoding. Introduce a queue module/service in the API to publish persistent transcode jobs after successful uploads and update video status to QUEUED. Add a worker app that connects to RabbitMQ, consumes jobs from transcode_queue, logs details, and acknowledges messages for end-to-end decoupled processing.

- Added methods to initialize and close RabbitMQ connections and channels.
- Implemented queue declaration with error handling.
- Enhanced logging for connection lifecycle events.
- Added the publishTranscodeJob method to publish transcode job messages to RabbitMQ.
- Included input validation for videoId, s3Key, and resolutions.
- Enhanced error handling and logging for message publishing process.
…lishing

- Imported QueueModule into VideosModule to enable QueueService usage.
- Updated VideosService to inject QueueService and publish transcode jobs after video upload.
- Enhanced logging for video upload, record creation, and queue publishing processes, including error handling for queue publishing failures.
…mentation guide

- Deleted DAY3-4-IMPLEMENTATION-GUIDE.md, MINIO-SIGNATURE-ISSUE-REPORT.md, PRD-IMPLEMENTATION-STATUS-REPORT.md, and PRD-MINIO-STORAGE.md as they are no longer relevant to the current project structure and requirements.
- Replaced the minimal backend setup with a RabbitMQ worker that connects to a specified queue.
- Added logging for connection status and job processing.
- Implemented error handling for message processing and connection management.
- Included graceful shutdown procedures for the worker.
@GiorgiZanqaidze GiorgiZanqaidze self-assigned this Dec 15, 2025
@GiorgiZanqaidze GiorgiZanqaidze added documentation Improvements or additions to documentation enhancement New feature or request improvement New Feature and functionalities labels Dec 15, 2025
@nx-cloud

nx-cloud Bot commented Dec 15, 2025

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit b10e7d5

Command Status Duration Result
nx run-many -t lint test build ✅ Succeeded 25s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-15 20:27:56 UTC

@GiorgiZanqaidze
GiorgiZanqaidze merged commit a200d19 into main Dec 15, 2025
1 check passed
@GiorgiZanqaidze
GiorgiZanqaidze deleted the feature/rabbitmq-integration branch December 15, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request improvement New Feature and functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant