<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tMongoDBInput doesn't read DocumentDB collection in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-doesn-t-read-DocumentDB-collection/m-p/2491473#M141492</link>
    <description>&lt;P&gt;My job uses MongoDB components to connect and read DocumentDB connection but when I run the job I receive an error from DocumentDB about noCursorTimeout feature not available. DocumentDB installed with MongoDB compatibility.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 18:52:56 GMT</pubDate>
    <dc:creator>fcolagiacomo</dc:creator>
    <dc:date>2024-11-07T18:52:56Z</dc:date>
    <item>
      <title>tMongoDBInput doesn't read DocumentDB collection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-doesn-t-read-DocumentDB-collection/m-p/2491473#M141492</link>
      <description>&lt;P&gt;My job uses MongoDB components to connect and read DocumentDB connection but when I run the job I receive an error from DocumentDB about noCursorTimeout feature not available. DocumentDB installed with MongoDB compatibility.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 18:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-doesn-t-read-DocumentDB-collection/m-p/2491473#M141492</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-11-07T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: tMongoDBInput doesn't read DocumentDB collection</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-doesn-t-read-DocumentDB-collection/m-p/2491475#M141493</link>
      <description>&lt;P&gt;I found the solution!&lt;/P&gt;
&lt;P&gt;Whether you receive this kind of error you have to check item file of the job. You should to find this elementParameter "QUERYOPTION_NOTIMEOUT" set "true", this setting cause into the Java code the statement &amp;lt;mongodb_client&amp;gt;.find(...).noCursorTimeout(true).... (the feature is not supported by Amazon DocumentDB).&lt;/P&gt;
&lt;P&gt;So you can change the value of&amp;nbsp; "QUERYOPTION_NOTIMEOUT" to "false" and your job will work like a charm.&lt;/P&gt;
&lt;P&gt;N.B.: you have to set the tMongoDBConnection component by connection string and you have to add the parameter "retryWrites=false", in example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mongodb://&amp;lt;DocumentDB_ARN&amp;gt;:27017/?replicaSet=rs0&amp;amp;readPreference=secondaryPreferred&amp;amp;&lt;STRONG&gt;retryWrites=false&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 19:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMongoDBInput-doesn-t-read-DocumentDB-collection/m-p/2491475#M141493</guid>
      <dc:creator>fcolagiacomo</dc:creator>
      <dc:date>2024-11-07T19:02:44Z</dc:date>
    </item>
  </channel>
</rss>

