[
https://issues.apache.org/jira/browse/BEAM-6520?focusedWorklogId=191555&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-191555
]
ASF GitHub Bot logged work on BEAM-6520:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Jan/19 09:20
Start Date: 29/Jan/19 09:20
Worklog Time Spent: 10m
Work Description: aromanenko-dev commented on pull request #7648:
[BEAM-6520] Deprecate MongoDb `withKeepAlive`
URL: https://github.com/apache/beam/pull/7648#discussion_r251515325
##########
File path:
sdks/java/io/mongodb/src/main/java/org/apache/beam/sdk/io/mongodb/MongoDbIO.java
##########
@@ -133,6 +133,10 @@ private MongoDbIO() {}
@Nullable
abstract String uri();
+ /**
+ * @deprecated This is deprecated in the MongoDB API and will be removed
in a future version.
Review comment:
Perhaps, it will worth to mention here that keep-alive is enabled by default
in MongoClient since it's not recommended to disable
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 191555)
Time Spent: 2h 20m (was: 2h 10m)
> Deprecate MongoDb `withKeepAlive` because it is deprecated in the Mongo driver
> ------------------------------------------------------------------------------
>
> Key: BEAM-6520
> URL: https://issues.apache.org/jira/browse/BEAM-6520
> Project: Beam
> Issue Type: Improvement
> Components: io-java-mongodb
> Reporter: Ismaël Mejía
> Assignee: Ismaël Mejía
> Priority: Minor
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Since this seems to be now default to true and soon to be removed from the
> upstream API. We should not encourage users to configure it in MongoDbIO.
> This should be removed in a further version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)