Skip to content

[Celery 6.0]: broker_connection_retry_on_startup Warning #99005

@prd-hai-huynh

Description

@prd-hai-huynh

From the Official Documentation:

Warning
The broker_connection_retry configuration setting will no longer determine whether broker connection retries are made during startup in Celery 6.0 and above. If you wish to refrain from retrying connections on startup, you should set broker_connection_retry_on_startup to False instead.

Warning message(my local machine):

venv/lib/python3.11/site-packages/celery/worker/consumer/consumer.py:507: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine                                                                                                                                                                                                       
whether broker connection retries are made during startup in Celery 6.0 and above.                                                                                                                                                      
If you wish to retain the existing behavior for retrying connections on startup,                                                                                                                                                        
you should set broker_connection_retry_on_startup to True
celery --version
5.3.6 (emerald-rush)

Ref:

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions