ray.serve.schema.CeleryAdapterConfig#

pydantic model ray.serve.schema.CeleryAdapterConfig[source]#

Celery adapter config. You can use it to configure the Celery task processor for your Serve application.

PublicAPI (alpha): This API is in alpha and may change before becoming stable.

field app_custom_config: Dict[str, Any] | None = None#

The custom configurations to use for the Celery app.

field backend_url: str [Required]#

The URL of the backend to use for Celery.

field broker_transport_options: Dict[str, Any] | None = None#

The broker transport options to use for Celery.

field broker_url: str [Required]#

The URL of the broker to use for Celery.

field task_custom_config: Dict[str, Any] | None = None#

The custom configurations to use for the Celery task. This custom configurations will get applied to all the celery tasks.