rahul-madaan commented on code in PR #72711:
URL: https://github.com/apache/airflow/pull/72711#discussion_r3966812944
##########
providers/openlineage/docs/spark.rst:
##########
@@ -181,6 +181,9 @@ as Airflow without manual configuration.
.. caution::
Currently, only HTTP transport is supported for automatic transport
injection (with api_key authentication, if configured).
+ If the transport uses :ref:`OAuth 2.0 client credentials authentication
<configuration_oauth2:openlineage>`, the current
+ access token is injected as ``api_key`` authentication, because Spark
OpenLineage integration cannot refresh it.
+ Spark applications running longer than the token lifetime will fail to
emit OpenLineage events.
Review Comment:
Flagging this for review since OAuth tokens might have a limited lifetime
and Spark would silently fail to send OL events if we use OAuth.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]