[ 
https://issues.apache.org/jira/browse/BEAM-9571?focusedWorklogId=413001&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-413001
 ]

ASF GitHub Bot logged work on BEAM-9571:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/20 09:54
            Start Date: 31/Mar/20 09:54
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on pull request #11258: [BEAM-9571] 
Add withMongoClientProvider to MongoDbIO
URL: https://github.com/apache/beam/pull/11258#discussion_r400785847
 
 

 ##########
 File path: 
sdks/java/io/mongodb/src/main/java/org/apache/beam/sdk/io/mongodb/MongoDbIO.java
 ##########
 @@ -191,7 +193,29 @@ private MongoDbIO() {}
       abstract Builder setQueryFn(
           SerializableFunction<MongoCollection<Document>, 
MongoCursor<Document>> queryBuilder);
 
-      abstract Read build();
 
 Review comment:
   This one was not renamed, it changed because now it has a default 
implementation (see below in line 208). The default implementation sets a 
provider given the respective parameters.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 413001)
    Time Spent: 1h 10m  (was: 1h)

> Add withMongoClientProvider to MongoDbIO
> ----------------------------------------
>
>                 Key: BEAM-9571
>                 URL: https://issues.apache.org/jira/browse/BEAM-9571
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-mongodb
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>             Fix For: 2.21.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Users of MongoDB may want to provide more details or configure advanced 
> parameteres like SSL validations explicitly. We can offer a method 
> `.withMongoClientProvider` that provides clients as needed as we do in other 
> IOs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to