Owen-CH-Leung commented on PR #33135:
URL: https://github.com/apache/airflow/pull/33135#issuecomment-1667839285

   > > For moving elasticsearch config, do you mean the following lines should 
be moved to provider.yaml ?
   > 
   > 
https://github.com/apache/airflow/blob/main/airflow/config_templates/config.yml#L2396-L2410
   > 
   > Yes. See for example: #32777 - this is a new thing that has been added in 
Airflow 2.7 - providers can now contribute their own whole "sections" and they 
can be removed from generic "airflow" configuration.
   > 
   > Also, you will need to keep old "pre-2.7" defaults in 
https://github.com/apache/airflow/blob/main/airflow/config_templates/pre_2_7_defaults.cfg
 for back-compatibility (this one provides the default values for old providers 
that have not yet moved their config to ). The PR for Hive above does not have 
it yet as I realised it only afterwards. As you can see elasticsearch_configs 
is there, but I think - if we decide to also move "elasticsearch" to the 
provider, we need to add "elasticearch" to the defaults as well before 2.7.0 is 
released.
   > 
   > I will go ahead and add it now, otherwise some back-compatibility 
scenarios might not work (old provider assuming default value retrieved might 
stop working).
   
   Thanks. I've added some contexts in CHANGELOG and also moved the config to 
`provider.yaml`


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