Feature/rabbitmq integration - #4
Merged
Merged
Conversation
- 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.
|
View your CI Pipeline Execution ↗ for commit b10e7d5
☁️ Nx Cloud last updated this comment at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.