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

openlineage: disable running listener if not configured #33120

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

mobuchowski
Copy link
Contributor

There's a discussion whether to include OpenLineage provider in default Airflow image.
https://apache-airflow.slack.com/archives/C03G9H97MM2/p1691163069712479

In this case, we won't have an assumption that user explicitely enabled OpenLineage or works in an environment where OpenLineage is expected to run. This means logs, generating OpenLineage events and some overhead associated with it would be not an expected behavior from an user.

This PR disables even launching OpenLineage listener if no option required to run it has been configured, so no unexpected behavior exists. Those changes are only relevant in case of it being included by default - they should not be merged otherwise.

@potiuk potiuk marked this pull request as ready for review August 4, 2023 18:12
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
@potiuk potiuk force-pushed the openlineage-disable-when-not-configured branch from 821d5de to 531bb9c Compare August 4, 2023 18:12
@mobuchowski mobuchowski merged commit 11ff650 into main Aug 4, 2023
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Aug 8, 2023
ephraimbuddy pushed a commit that referenced this pull request Aug 8, 2023
Signed-off-by: Maciej Obuchowski <obuchowski.maciej@gmail.com>
(cherry picked from commit 11ff650)
@Taragolis Taragolis deleted the openlineage-disable-when-not-configured branch September 26, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) provider:openlineage AIP-53
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants