{"id":16428776,"url":"https://github.com/mseemann/mongodb-streams","last_synced_at":"2025-07-13T16:06:28.965Z","repository":{"id":70967805,"uuid":"401482213","full_name":"mseemann/mongodb-streams","owner":"mseemann","description":"Demo how to sync a MongoDb collection into a relational database with eventual consistency.","archived":false,"fork":false,"pushed_at":"2021-09-05T10:04:38.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T06:43:14.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mseemann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-30T20:49:03.000Z","updated_at":"2021-09-05T11:41:02.000Z","dependencies_parsed_at":"2023-03-11T09:35:14.472Z","dependency_job_id":null,"html_url":"https://github.com/mseemann/mongodb-streams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mseemann/mongodb-streams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseemann%2Fmongodb-streams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseemann%2Fmongodb-streams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseemann%2Fmongodb-streams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseemann%2Fmongodb-streams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mseemann","download_url":"https://codeload.github.com/mseemann/mongodb-streams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mseemann%2Fmongodb-streams/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265167547,"owners_count":23721463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T08:18:55.386Z","updated_at":"2025-07-13T16:06:28.947Z","avatar_url":"https://github.com/mseemann.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"* start all required services (MongoDb, Postgres, Prometheus, Grafan) with docker compose up\n* start the two services sync and monitor (you may use your IDE or mvn)\n* create a sample user:  curl -X POST http://localhost:8080/create-user\n* connect to the relational database and have a look at the content of the table user\n* have a look at http://localhost:3000/d/msm/mongo-streams-monitoring to view the grafana dashboard\n* under http://localhost:9090/alerts you'll find the alerts\n\nThe corresponding medium article: https://medium.com/@mseemann.io/synchronize-a-mongodb-collection-to-a-relational-database-with-eventual-consistency-b31346f17128","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseemann%2Fmongodb-streams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmseemann%2Fmongodb-streams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmseemann%2Fmongodb-streams/lists"}