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

Provider package Edge: Edge worker supports queue handling #43115

Merged

Conversation

AutomationDev85
Copy link
Contributor

This PR adds the possibility to the Edge Worker to add or remove queues in the queue field in the DB and the worker gets this information and starts consuming tasks of queues or stops consuming task of queues.

This makes future handling worker queues from main instance possible without restarting the worker on a different queue.

@jscheffl jscheffl added the provider:edge Edge Executor / Worker (AIP-69) label Oct 17, 2024
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.

Some static checks and using an import which (sorry for that) has been moved yesterday. If this is fixed and CI is green good to merge in my eyes.

providers/tests/edge/cli/test_edge_command.py Outdated Show resolved Hide resolved
@jscheffl
Copy link
Contributor

As since yesterday we are on main with the edge provider, please also update the version number of the provider.

@jscheffl jscheffl merged commit 7767642 into apache:main Oct 18, 2024
55 checks passed
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
)

* Edge worker supports queue handling

* Fix pytests

* Increment version

* remove unused import

* description to changelog

* version incremented

* Remove duplicate changelog

---------

Co-authored-by: Marco Küttelwesch <marco.kuettelwesch@de.bosch.com>
Co-authored-by: Majoros Donat (XC-DX/EET2-Bp) <donat.majoros2@hu.bosch.com>
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
)

* Edge worker supports queue handling

* Fix pytests

* Increment version

* remove unused import

* description to changelog

* version incremented

* Remove duplicate changelog

---------

Co-authored-by: Marco Küttelwesch <marco.kuettelwesch@de.bosch.com>
Co-authored-by: Majoros Donat (XC-DX/EET2-Bp) <donat.majoros2@hu.bosch.com>
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
)

* Edge worker supports queue handling

* Fix pytests

* Increment version

* remove unused import

* description to changelog

* version incremented

* Remove duplicate changelog

---------

Co-authored-by: Marco Küttelwesch <marco.kuettelwesch@de.bosch.com>
Co-authored-by: Majoros Donat (XC-DX/EET2-Bp) <donat.majoros2@hu.bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:edge Edge Executor / Worker (AIP-69)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants