Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Consumer] [Discovery] Treat consumer message processing like a Django request #236

Open
robrap opened this issue Jun 12, 2023 · 1 comment
Labels
event-bus Work related to the Event Bus.

Comments

@robrap
Copy link
Contributor

robrap commented Jun 12, 2023

Is there a more general solution possible in Django for calling Django's typical before-request and after-request code when processing each message? This might provide an alternate solution to edx/edx-arch-experiments#158.

Maybe this isn't a high-priority, but I wonder what issues may be lurking that we just wouldn't be aware of.

@robrap robrap added the event-bus Work related to the Event Bus. label Jun 12, 2023
@robrap robrap changed the title [Discovery] More general solution to treating message processing like a Django request [Discovery] Treat consumer message processing like a Django request Jun 12, 2023
@robrap robrap added this to Arch-BOM Jun 12, 2023
@robrap robrap changed the title [Discovery] Treat consumer message processing like a Django request [Consumer] [Discovery] Treat consumer message processing like a Django request Jun 12, 2023
@robrap
Copy link
Contributor Author

robrap commented Jun 12, 2023

This is replacing the ticket [Consumer] Better replication of Django requests in consumer infinite loop which was created in a different repo, and had no description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-bus Work related to the Event Bus.
Projects
None yet
Development

No branches or pull requests

1 participant