sudarshan2906 commented on issue #11225:
URL: https://github.com/apache/airflow/issues/11225#issuecomment-704386220


   @chris-french Yup, I got it working using celery version to be 4.4.2. But 
the predefined_queues property was not supported by airflow as its a dict 
format. I used a celery_config file and changed the celery_config location in 
`airflow.cfg`
   
   celery_config.py
   ```
   from airflow.config_templates.default_celery import DEFAULT_CELERY_CONFIG
   broker_transport_options = {'visibility_timeout': 21600,
                                                 'predefined_queues': {
                                                                                
 'sqs_queue_name: {'url': 'sqs_queue_url'}}}
   
   DEFAULT_CELERY_CONFIG['broker_transport_options'] = broker_transport_options
   CELERY_CONFIG = DEFAULT_CELERY_CONFIG
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to