<?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>question Share topics for different kafka connectors in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195816#M76202</link>
    <description>&lt;P&gt;Here is the scenario. I need  two confluent jdbc source connectors to set up in kafka connectors. Both connectors will source data from the same table. The first connector will be setup in timestamp|incrementing mode and the second connector will be set up in bulk mode and will be used on demand in cases like complete reload due to data corruption. &lt;/P&gt;&lt;P&gt;Is it possible and desirable to have both connectors to share the same topic? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Wed, 21 Mar 2018 20:41:46 GMT</pubDate>
    <dc:creator>mark_lin</dc:creator>
    <dc:date>2018-03-21T20:41:46Z</dc:date>
    <item>
      <title>Share topics for different kafka connectors</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195816#M76202</link>
      <description>&lt;P&gt;Here is the scenario. I need  two confluent jdbc source connectors to set up in kafka connectors. Both connectors will source data from the same table. The first connector will be setup in timestamp|incrementing mode and the second connector will be set up in bulk mode and will be used on demand in cases like complete reload due to data corruption. &lt;/P&gt;&lt;P&gt;Is it possible and desirable to have both connectors to share the same topic? &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:41:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195816#M76202</guid>
      <dc:creator>mark_lin</dc:creator>
      <dc:date>2018-03-21T20:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Share topics for different kafka connectors</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195817#M76203</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/66213/marklin.html" nodeid="66213"&gt;@Mark Lin&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You shouldn't use the same topic for both these operations, IMHO. Here is a scenario I can think of. Let's say we are using topic &lt;EM&gt;topic1&lt;/EM&gt; to fetch the data in an increment manner. Kafka persists the data by default for 7 days. So let's say you have last 7 days data in the topic already!&lt;/P&gt;&lt;P&gt;Now you get this request to do the "&lt;EM&gt;bulk&lt;/EM&gt;" data load again and suddenly you have all the data pulled to this topic, with some 7 days of data already in the table. That will cause data duplication in Kafka and your downstream &lt;EM&gt;consumer&lt;/EM&gt; needs to do this extra effort to make sure you don't persist the duplicate records in the final storage. That might be some extra work to do.&lt;/P&gt;&lt;P&gt;Also, a bulk load can bypass Kafka all together and we can use either NiFi or Sqoop to do it, whenever needed.&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 11:27:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195817#M76203</guid>
      <dc:creator>RahulSoni</dc:creator>
      <dc:date>2018-03-22T11:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Share topics for different kafka connectors</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195818#M76204</link>
      <description>&lt;P&gt;Thanks Rahul. Using separate topic means good isolation. Directly using Nifi is a good option.&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 19:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Share-topics-for-different-kafka-connectors/m-p/195818#M76204</guid>
      <dc:creator>mark_lin</dc:creator>
      <dc:date>2018-03-22T19:07:37Z</dc:date>
    </item>
  </channel>
</rss>

