Skip to content

This project is Java based alternative to mongo-connector. It is reading MongoDB oplog and reproduce appropriate actions in ElasticSearch

License

Notifications You must be signed in to change notification settings

c0rp-aubakirov/java-mongo-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-mongo-connector

This project is Java based alternative to mongo-connector. It is reading MongoDB oplog and reproduce appropriate actions in ElasticSearch. Code based on this tutorial

Producer is tailing MongoDB oplog and sends messages to JMS queue

Consumer is read messages from queue and do either INSERT, DELETE or UPDATE

Prepare soft

  1. install and run OpenMQ with default settings.
  2. install and run MongoDB with default settings. And have collection and data inside.
  3. install ElasticSearch with default settings.

Run examples

There are MainProducer.class and MainConsumer.class for testing purposes.

About

This project is Java based alternative to mongo-connector. It is reading MongoDB oplog and reproduce appropriate actions in ElasticSearch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages