Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
swaroopchippada
Contributor III
Contributor III

Qlik replicate not applying the changes in realtime

Hi,

We are using qlik replicate with

Source - Sybase

Target - Kafka

and we have selected the below settings while creating the task,

Replication profile: unidirectional

Task options - Full load, Apply changes

After starting the task,  Full load is successful. But after that, any new transaction in the DB is not replicated. 

if I stop and restart the task by selecting reload target, all the new data is replicated.

Kindly help to resolve this.

Also, one more thing to note, I haven't faced this issue in local. only facing this in our dev environment. 

Labels (2)
12 Replies
john_wang
Support
Support

Hello @swaroopchippada ,

Thanks for the feedback.

The header column AR_H_USER works for SAP Sybase ASE for sure, however please take note the Replicate AR_H_USER header column is not supported for database changes performed in auto-commit mode. You need to use the explicit transactions.

I've confirmed that in my labs (Replicate 2023.11 + Sybase ASE 16.0):

1. Turn off auto-commit in "Interactive SQL"

    john_wang_3-1709909271814.png

2. Make changes by explicit transactions in "Interactive SQL"

    john_wang_6-1709909993307.png

    The sample code as below:

begin transaction
insert into moon.dbo.testtime values (16,'abc','23:59:59','23:59:59')
commit

3. Got the transaction owner, "sa" in target DB:

    john_wang_7-1709910029870.png

    Comparision to the previous line, id=12, which was made by auto-commit, the AR_H_USER is null value. It should work for Kafka target as well.

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
swaroopchippada
Contributor III
Contributor III
Author

@John Thank you so much. its working now

john_wang
Support
Support

Glad to hear that, @swaroopchippada , thank you so much for your great support! 

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!