potiuk commented on code in PR #64764:
URL: https://github.com/apache/airflow/pull/64764#discussion_r3063125815


##########
airflow-core/src/airflow/config_templates/airflow_local_settings.py:
##########
@@ -334,34 +334,36 @@ def _default_conn_name_from(mod_path, hook_name):
         )
 
     elif OPENSEARCH_HOST:
-        OPENSEARCH_END_OF_LOG_MARK: str = 
conf.get_mandatory_value("opensearch", "END_OF_LOG_MARK")
-        OPENSEARCH_PORT: str = conf.get_mandatory_value("opensearch", "PORT")
+        from airflow.providers.opensearch.log.os_task_handler import 
OpensearchRemoteLogIO
+
+        OPENSEARCH_PORT = conf.getint("opensearch", "PORT", fallback=9200)

Review Comment:
   We do not **yet** have a way to have separate provider settings. Maybe in 
the future we will - but we do not have them now.



-- 
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]

Reply via email to