drobert opened a new pull request #19053:
URL: https://github.com/apache/airflow/pull/19053


   closes: #18950 
   
   - added notes on configuring a `Connection` in tutorial example
   - added logging to tutorial example
   - used streaming ingest in tutorial example
   
   ## Questions/alternatives
   
   A simpler approach for a new engineer here would be if the default airflow 
docker postgres configuration matched the default postgres connection defined 
in `airflow/utils/db.py`. That is, `postgres_default` defines username (er 
"login") `postgres`, while the airflow `docker-compose.yml` file uses login 
`airflow`. If these matched, the tutorial could skip the preamble and would 
work out of the box with a hard-coded connection id of `postgres_default`.
   
   I've chosen to update the documentation to match the current realities here, 
as I'm new to airflow and am not clear on what impact changing `docker-compose` 
or the default postgres connection would have.
   


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to