Skip to content

Conversation

@dheerajturaga
Copy link
Member

@dheerajturaga dheerajturaga commented Sep 29, 2025

Implement command that unsubscribes a Celery worker from all its active queues. This complements the existing command by providing a bulk operation for queue management. Idea is to quickly move a worker out from service without actually shutting it down. Intent is to create a similar effect as Edge Executor's Maintenance Mode

image

cc: @jscheffl

  Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting feature! Looks good and valid for me.

Would it be a use case as well to add a list of queues again as batch to restore after maintenance?

@dheerajturaga
Copy link
Member Author

dheerajturaga commented Sep 30, 2025

Interesting feature! Looks good and valid for me.

Would it be a use case as well to add a list of queues again as batch to restore after maintenance?

We already have a add-queues method that takes a comma separated queue.

@jscheffl jscheffl merged commit 964997a into apache:main Sep 30, 2025
78 checks passed
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
dabla pushed a commit to dabla/airflow that referenced this pull request Oct 12, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
Implement  command that unsubscribes
  a Celery worker from all its active queues. This complements the existing
   command by providing a bulk operation for queue management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants