Skip to content
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

Using Databus with MongoDB #73

Open
bbnsumanth opened this issue Jan 5, 2016 · 2 comments
Open

Using Databus with MongoDB #73

bbnsumanth opened this issue Jan 5, 2016 · 2 comments

Comments

@bbnsumanth
Copy link

I'm investigating on CDC tools to capture data in MongoDB(using its oplogs) and write that data to Kafka.
Can someone suggest on how to write an adapter to capture events from MongoDb oplogs and write them to a Relay in Databus.

@lhaiesp
Copy link
Collaborator

lhaiesp commented Jan 5, 2016

We did very similar things recently (reading from MongoDb and writing to Kafka). After some googling, we picked this project on github: https://github.com/krickert/JavaMongoDBOpLogReader.git

It seems to work at least for the most basic scenario

@zondahuman
Copy link

@lhaiesp
hi, i have a question, your project is working on database of local and collection of main,but i insert some records, but console is not printing oplogs, you project that what meaning is $natural ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants