Using Databus with MongoDB
bbnsumanth opened this issue · 2 comments
bbnsumanth commented
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 commented
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 commented
@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 ?