-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transactional mode #2
Comments
Check my blog post: https://jack-vanlightly.com/blog/2018/4/28/sql-server-cdc-to-redshift-pipeline Let me know if that blog post adequately explains it. |
Thanks for that! Yes I see what you mean now. Might another approach be to put insert triggers on all the CDC tables - converting their contents to json and inserting them into one common table. Then you'd only need to scan that rather than each cdc table. I have a hundred or so tables I want to CDC... |
It is a tempting idea as it makes the solution simpler, but it does have two drawbacks:
If you experiment with the trigger idea let me know how it goes. |
It's a shame that microsoft don't make available a better programmatic interface to the transaction log - then one could roll one's own cdc system. |
I've never used them, but products such as Attunity and Debezium read the transaction log directly, they might offer some functionality that you need. |
I've made a bit of progress - and have implemented an app to stream cdc using node js. I'll put it on github and link you to it but essentially..
There are two improvements..
|
This is it.. https://github.com/gilesbradshaw/node-mssql-cdc-kafka It's not currently ordering across tables - but the publish step could.. |
You are no longer developing the project, which is unfortunate |
could you possibly explain this - many thanks :)
The text was updated successfully, but these errors were encountered: