mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #266] [MERGED] feat: Allow configuration of the message queue in the deployment config file #365
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/266
Author: @masci
Created: 9/23/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @masci
Base:
main← Head:massi/message-queue-config📝 Commits (6)
ca29521first6bd08f1try2d431edincrease test coverage8bc4481Merge branch 'main' into massi/message-queue-config14b2a54fix conflicts18a54a4add union discriminant to the existing config models📊 Changes
11 files changed (+166 additions, -33 deletions)
View changed files
📝
llama_deploy/apiserver/config_parser.py(+22 -2)📝
llama_deploy/apiserver/deployment.py(+48 -10)📝
llama_deploy/message_queues/apache_kafka.py(+7 -8)📝
llama_deploy/message_queues/aws.py(+3 -1)📝
llama_deploy/message_queues/rabbitmq.py(+5 -2)📝
llama_deploy/message_queues/redis.py(+6 -3)📝
llama_deploy/message_queues/simple.py(+5 -4)📝
tests/apiserver/conftest.py(+14 -0)📝
tests/apiserver/data/example.yaml(+5 -0)📝
tests/apiserver/test_config_parser.py(+3 -0)📝
tests/apiserver/test_deployment.py(+48 -3)📄 Description
Add a section in the deployment config file to define the message queue to use.
Notes:
typewas added to the existing config models so that we can use it to tell Pydantic what's the right model to use when loadingmessage-queuefrom the configThe format will be:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.