<?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 Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719344#M261</link>
    <description>&lt;P&gt;in replicate there is limited api.&lt;/P&gt;&lt;P&gt;you would be looking at AEM API.&lt;/P&gt;&lt;P&gt;there is a :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;get_table_statuses&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle1"&gt;Retrieves the tables statuses of a specific Replicate task for all tables that match the&lt;BR /&gt;specified state(s), table schema(s), and table name(s). This is useful for automation&lt;BR /&gt;processes, for example, as it allows you to retrieve tables in a certain state (e.g.&lt;BR /&gt;suspended) and then peform an operation on them (e.g. AemReloadTable)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jun 2020 16:03:28 GMT</pubDate>
    <dc:creator>Steve_Nguyen</dc:creator>
    <dc:date>2020-06-16T16:03:28Z</dc:date>
    <item>
      <title>REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719101#M258</link>
      <description>&lt;P&gt;Hello There,&lt;/P&gt;&lt;P&gt;This is my first post in this community, I might not know the ins and out, but here is my trouble for which I am looking for some advice or workaround.&lt;/P&gt;&lt;P&gt;I am working on a Java API to connect to Replicate and perform certain tasks based on REST API calls.&lt;/P&gt;&lt;P&gt;There are some CDC (Real time) tasks in our Replicate that continuously runs and keep Target tables in syn with changes happening in Source.&lt;/P&gt;&lt;P&gt;Each of these task consists of multiple tables and however I can get Task level details using "GetTaskDetail" call, I am not able to get table level information like which table is currently being replicated and what all tables are already synced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone let me know if this is something possible with REST or not, if yes and please do guide me where can I start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719101#M258</guid>
      <dc:creator>asif_baig</dc:creator>
      <dc:date>2024-11-16T00:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719344#M261</link>
      <description>&lt;P&gt;in replicate there is limited api.&lt;/P&gt;&lt;P&gt;you would be looking at AEM API.&lt;/P&gt;&lt;P&gt;there is a :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;get_table_statuses&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="fontstyle1"&gt;Retrieves the tables statuses of a specific Replicate task for all tables that match the&lt;BR /&gt;specified state(s), table schema(s), and table name(s). This is useful for automation&lt;BR /&gt;processes, for example, as it allows you to retrieve tables in a certain state (e.g.&lt;BR /&gt;suspended) and then peform an operation on them (e.g. AemReloadTable)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jun 2020 16:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719344#M261</guid>
      <dc:creator>Steve_Nguyen</dc:creator>
      <dc:date>2020-06-16T16:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719578#M266</link>
      <description>&lt;P&gt;Thank you for this, I guess GetTableList and GetTableDetails are added after version 6.5 and later and earlier I was not looking into them.&lt;BR /&gt;They are perfect solution for my problem, however going over developer guide I got confused with the "Status" we got in return for a table hooked with a CDC task:&lt;BR /&gt;&lt;BR /&gt;TABLE_QUEUED&lt;BR /&gt;TABLE_LOADING&lt;BR /&gt;TABLE_COMPLETED&lt;BR /&gt;&lt;STRONG&gt;TABLE_CHANGE_PROCESSING&lt;/STRONG&gt;&lt;BR /&gt;TABLE_ERROR&lt;BR /&gt;&lt;BR /&gt;For a CDC table I am always getting status as&amp;nbsp;&lt;STRONG&gt;TABLE_CHANGE_PROCESSING&amp;nbsp;&lt;/STRONG&gt;even if there are not changes in Source and when I check the AEM using browser I can see that replication is complete, here my question arise that for a CDC task will we not have&amp;nbsp;TABLE_COMPLETED status anytime?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 10:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719578#M266</guid>
      <dc:creator>asif_baig</dc:creator>
      <dc:date>2020-06-17T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719630#M269</link>
      <description>&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;if your task is CDC only, then table would not have complete status, as these task is for cdc.&lt;/P&gt;&lt;P&gt;so table just start reading source and writing to target.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 12:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1719630#M269</guid>
      <dc:creator>Steve_Nguyen</dc:creator>
      <dc:date>2020-06-17T12:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1720349#M282</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/117387"&gt;@Steve_Nguyen&lt;/a&gt;&amp;nbsp;&amp;nbsp;Thank you for the information.&lt;/P&gt;&lt;P&gt;Could you please let me know how can we confirm if last transaction on source is completely replicated to target Table for a CDC Task?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 12:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1720349#M282</guid>
      <dc:creator>asif_baig</dc:creator>
      <dc:date>2020-06-19T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Calls to Get Table Level Details of a Real-time (CDC) Task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1726980#M324</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/119548"&gt;@asif_baig&lt;/a&gt;&amp;nbsp;what is the end goal? to ensure data is completely replicated? In that case you will need to rely on response parameter 'last_update_time'. Kindly note that for a task, like replicate, running infinitely it is practically not possible to confirm if ALL data from source is replicated. Even if achievable, it would take a lot of complex scripting or a huge audit framework to be built. So, the way i would script it is - pick the last_udpate_time for a given table, depending on how frequently the table sends data, have a "timer" say 4 hours and save the current and last values of 'last_update_time', If the difference of these two values is more than 4 hours (timer) , then take an action - like send an email, create an incident etc via the script. Ensure to perform proper error handling like, if the task is stopped this parameter might return a static/null value and you don't want to send false alerts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know for any additional questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JitenderR_0-1594416160381.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37311iE8D7714C230C1C08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JitenderR_0-1594416160381.png" alt="JitenderR_0-1594416160381.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 21:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/REST-API-Calls-to-Get-Table-Level-Details-of-a-Real-time-CDC/m-p/1726980#M324</guid>
      <dc:creator>JitenderR</dc:creator>
      <dc:date>2020-07-10T21:24:10Z</dc:date>
    </item>
  </channel>
</rss>

