mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
[PR #511] [MERGED] feat: refactor message queue communication strategy #512
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/511
Author: @masci
Created: 5/25/2025
Status: ✅ Merged
Merged: 5/27/2025
Merged by: @masci
Base:
main← Head:massi/message-queue-refact📝 Commits (10+)
c8febcafeat: refactor message queue communicationa0a0295remove unused code618bc14fix unit tests10cb270clean shutdown on message consuming998c902fix roundtrip tests411c7abfix more e2e9f8933ffix reload operationacdf2a1fix rabbit roundtrip82d22f3remove message consumer27bbf1ffix e2e tests📊 Changes
38 files changed (+1053 additions, -1212 deletions)
View changed files
📝
e2e_tests/apiserver/conftest.py(+0 -1)📝
e2e_tests/apiserver/test_hitl.py(+7 -10)📝
e2e_tests/message_queues/aws/conftest.py(+17 -11)📝
e2e_tests/message_queues/aws/test_message_queue.py(+6 -24)➖
e2e_tests/message_queues/conftest.py(+0 -20)📝
e2e_tests/message_queues/kafka/test_message_queue.py(+6 -23)📝
e2e_tests/message_queues/rabbitmq/test_message_queue.py(+7 -19)📝
e2e_tests/message_queues/redis/test_message_queue.py(+9 -22)📝
e2e_tests/message_queues/simple/test_message_queue.py(+9 -24)📝
llama_deploy/apiserver/deployment.py(+4 -20)📝
llama_deploy/client/models/apiserver.py(+4 -2)📝
llama_deploy/control_plane/server.py(+22 -10)📝
llama_deploy/deploy/deploy.py(+1 -21)➖
llama_deploy/message_consumers/__init__.py(+0 -3)➖
llama_deploy/message_consumers/remote.py(+0 -37)📝
llama_deploy/message_queues/apache_kafka.py(+17 -43)📝
llama_deploy/message_queues/aws.py(+60 -84)📝
llama_deploy/message_queues/base.py(+11 -26)📝
llama_deploy/message_queues/rabbitmq.py(+47 -66)📝
llama_deploy/message_queues/redis.py(+30 -87)...and 18 more files
📄 Description
This PR rolls out a major refactoring of the way the Control Plane and the Workflow Service talk to the message queue.
This was the sequence of the operations before:
This is the sequence of the operations after this PR:
Advantages of this approach:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.