You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/05/02 09:49:00 UTC

[jira] [Commented] (AIRFLOW-3672) Add support for Mongo DB DNS Seedlist Connection Format

    [ https://issues.apache.org/jira/browse/AIRFLOW-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831512#comment-16831512 ] 

ASF subversion and git services commented on AIRFLOW-3672:
----------------------------------------------------------

Commit 1f48839e83a5413a33f164c74a7aa8ffddb488a2 in airflow's branch refs/heads/v1-10-test from John Cheng
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=1f48839 ]

[AIRFLOW-3672] Add support for Mongo DB DNS Seedlist Connection Format (#4481)

* [AIRFLOW-3672] Add support for Mongo DB DNS Seedlist Connection Format

https://docs.mongodb.com/manual/reference/connection-string/index.html#dns-seedlist-connection-format
http://api.mongodb.com/python/current/api/pymongo/mongo_client.html#pymongo.mongo_client.MongoClient

* [AIRFLOW-3672] Add unit test for srv uri

* [AIRFLOW-3672] Fix unit test for Mongo srv uri

* [AIRFLOW-3672] Construct MongoDB URI when hook init

(cherry picked from commit ac464be88eefe0b7590c6ed271a50e99a9f6a4fe)


> Add support for Mongo DB DNS Seedlist Connection Format
> -------------------------------------------------------
>
>                 Key: AIRFLOW-3672
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3672
>             Project: Apache Airflow
>          Issue Type: New Feature
>          Components: hooks
>    Affects Versions: 1.10.0
>            Reporter: John Cheng
>            Assignee: John Cheng
>            Priority: Minor
>             Fix For: 1.10.4
>
>
> Starting with version 3.6, PyMongo supports mongodb+srv:// URIs. The URI must include one, and only one, hostname. The hostname will be resolved to one or more DNS SRV records which will be used as the seed list for connecting to the MongoDB deployment.
> https://docs.mongodb.com/manual/reference/connection-string/index.html#dns-seedlist-connection-format
> http://api.mongodb.com/python/current/api/pymongo/mongo_client.html#pymongo.mongo_client.MongoClient
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)