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

Celery Setup with rabbitmq and Redis #3058

Open
baraa722 opened this issue Oct 2, 2024 · 0 comments
Open

Celery Setup with rabbitmq and Redis #3058

baraa722 opened this issue Oct 2, 2024 · 0 comments

Comments

@baraa722
Copy link

baraa722 commented Oct 2, 2024

I am using Celery with rabbitmq to utilize the queueing feature and i am mixing it with flask, following the documentation step by step, one of the options that I am trying to use is the backend option when preparing celery app, setting it up to use redis, but when i try to use job.get() but i get this exception

raise NotImplementedError(E_NO_BACKEND.strip()) NotImplementedError: No result backend is configured.

here is the setup of the celery app

celery = Celery('CeleryConfig',
broker='amqp://guest:guest@localhost:5672',
backend='redis://localhost:6379',
include=['tasks'],
worker_prefetch_multiplier=1,
result_persistent=True,
result_serializer='json',
task_serializer='json',
accept_content=['json'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant