
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Data migrate from MongoDb to Sql server
i am trying to migrate data from MongoDb to Sql server. MongoDb using as a Source and Sql server using as a target in qlik replicate. i am getting following errors.
1
Task 'Mongo db to sql server' encountered a recoverable error
2
Stream component 'st_0_Mongodb' terminated
Stream component failed at subtask 0, component st_0_Mongodb
Error executing source loop
3
Capture loop failed
Failed to start MongoDB watcher.
4
An error occurred during capture changes
5
Failed to start Change Processing from specified time (Timestamp{value=7108998699761532928, seconds=1655192743, inc=0})
- Subscribe by Topic:
-
CDC - 1-many - Log Stream
-
Configuration
-
Connectivity - Sources or Targets
-
Functionality
-
Performance
- « Previous Replies
-
- 1
- 2
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ZuhaibRana ,
Thanks for your update.
The error message is relevant to CDC. if you are intending to run Full Load only then please turn off both "Apply Changes" and "Store Changes", for example the task setting:
Hope this helps.
Regards,
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Vaibhav_19 ,
I'm sure MongoDB version 7 is supported, see Support Matrix of Qlik Replicate 2024.5. The problem is irrelevant to MongoDB version.
Instead, the requirement is that: To enable Replicate to detect changes, MongoDB databases servers must be set up in a replica set configuration.
Hope this helps.
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ZuhaibRana ,
From the error messages looks like your MongoDB source Server is not ready for CDC. Please refer to Qlik Doc, the MongoDB Server must be set up in a replica set configuration . MongoDB does not support watch() function if it's a single node config.
BTW, could you please let me know what's the MongoDB server version? is it an on-premise or Atlas.
Hope this helps.
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mongo Db version: 4.0.28
you are saying this is CDC issue. But i am using without CDC.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ZuhaibRana ,
Thanks for your update.
The error message is relevant to CDC. if you are intending to run Full Load only then please turn off both "Apply Changes" and "Store Changes", for example the task setting:
Hope this helps.
Regards,
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem Solved Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ZuhaibRana ,
Glad to hear that. can you click "Accept as Solution" , it's helpful for others as well.
thanks,
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
now again getting same errors.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @ZuhaibRana ,
You ever mentioned 5 errors. which error you are facing after you turn off the CDC?
Can you share a piece of task log file (obfuscating sensitive information as needed)? If you are not sure which information is sensitive, I'd like to suggest you open a support case and attach the task log file, our support team will help.
Regards,
John.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@john_wang I have solved the problem.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey ,can you please share your solutions with all steps from scratch .
I shall be greatful ...
1
Task 'Mongo db to sql server' encountered a recoverable error
2
Stream component 'st_0_Mongodb' terminated
Stream component failed at subtask 0, component st_0_Mongodb
Error executing source loop
3
Capture loop failed
Failed to start MongoDB watcher.
4
An error occurred during capture changes
5
Failed to start Change Processing from specified time (Timestamp{value=7108998699761532928, seconds=1655192743, inc=0})

- « Previous Replies
-
- 1
- 2
- Next Replies »