-
Notifications
You must be signed in to change notification settings - Fork 2
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
Kafka Connect & MongoDB Database #74
Conversation
ran into consumer performance problems where consumers could't subscribe to topics properly.
Requires this PR to be merged first: #71 |
Got a small conflict with the README |
Okay, that's fixed now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
PR Details
Description
This PR includes an additional docker-compose file named: "docker-compose-mongo.yml" which stands up a MongoDB database with a kafka connect instance to sink topics specified in the ./jpo-s3-deposit/mongo-connector/connect_start.sh script.
This PR also makes a change to the new kafka instance to use a docker managed kafka volume rather than a bind mount docker volume. This improves the performance of kafka (especially for windows users) by keeping everything in the docker file system. This is also helpful as now the kafka data can be reset if you attach the
-v
tag when usingdocker compose down -v
command.Related Issue
No related issue.
Motivation and Context
The move to have this functionality in the core ODE environment comes from combining requirements from the jpo-conflictmonitor and the jpo-cvmanager. When deploying in a local environment both of these will require kafka connect and a MongoDB instance to work from.
How Has This Been Tested?
If you stand up the mongo environment with the command:
docker compose -f .\docker-compose-mongo.yml up -d
, the standard ODE environment will be stood up along with the Mongo and kafka connect container. There is also a MongoDB configuration container that provisions users for RBAC. Please make sure to update your.env
file with the new MongoDB required environmental variables from thesample.env
Types of changes
Checklist:
ODE Contributing Guide