{"id":34552732,"url":"https://github.com/usedatabrew/mongodb_stream_benthos","last_synced_at":"2026-05-06T00:02:31.277Z","repository":{"id":203192769,"uuid":"709051102","full_name":"usedatabrew/mongodb_stream_benthos","owner":"usedatabrew","description":"MongoDB Change Streams Module for Streaming Database Changes with Golang","archived":false,"fork":false,"pushed_at":"2023-11-06T14:17:56.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-25T19:19:50.264Z","etag":null,"topics":["benthos","benthos-plugin","database","golang-library","mongodb","mongodb-change-streams"],"latest_commit_sha":null,"homepage":"https://databrew.tech","language":"Go","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/usedatabrew.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-23T23:04:16.000Z","updated_at":"2023-11-17T06:06:32.000Z","dependencies_parsed_at":"2025-12-24T08:05:15.414Z","dependency_job_id":null,"html_url":"https://github.com/usedatabrew/mongodb_stream_benthos","commit_stats":null,"previous_names":["usedatabrew/mongodb_stream_benthos"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/usedatabrew/mongodb_stream_benthos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usedatabrew%2Fmongodb_stream_benthos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usedatabrew%2Fmongodb_stream_benthos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usedatabrew%2Fmongodb_stream_benthos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usedatabrew%2Fmongodb_stream_benthos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usedatabrew","download_url":"https://codeload.github.com/usedatabrew/mongodb_stream_benthos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usedatabrew%2Fmongodb_stream_benthos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["benthos","benthos-plugin","database","golang-library","mongodb","mongodb-change-streams"],"created_at":"2025-12-24T08:03:22.274Z","updated_at":"2026-05-06T00:02:31.235Z","avatar_url":"https://github.com/usedatabrew.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Change Streams Plugin for Benthos\n\n\u003cimg src='https://github.com/usedatabrew/pglogicalstream/blob/main/images/databrew-logo.png' width=\"200px\" align=\"middle\" \u003e\n\nWelcome to the MongoDB Change Streams Plugin for Benthos! This plugin allows you to seamlessly stream data changes from your MongoDB database using Benthos, a versatile stream processor.\n\n## Features\n\n- **Real-time Data Streaming:** Capture data changes in real-time as they happen in your MongoDB database.\n\n- **Flexible Configuration:** Easily configure the plugin to specify the database connection details\n\n## Prerequisites\n\nBefore you begin, make sure you have the following prerequisites:\n\n- [Benthos](https://github.com/Jeffail/benthos): Required to import into your Golang code\n\n- [MongoDB](https://www.mongodb.com/): Change streams are available for replica sets and sharded clusters:\n\n## Getting Started\n\nTo get started you have to run benthos with custom plugins. Since this plugin is not adopted by benthos itself \nyou have to create a new benthos build with plugin registered\n\n```go\npackage main\n\nimport (\n\t\"github.com/benthosdev/benthos/v4/public/service\"\n\t// import mongodb_stream plugin\n\t_ \"github.com/usedatabrew/mongodb_stream_benthos\"\n)\n\nfunc main() {\n\t// here we initialize benthos\n\tservice.Run()\n}\n```\n\n### Create benthos configuration with plugin\n\n```yaml\ninput:\n  label: mongodb_stream_input\n  # register new plugin\n  mongodb_stream:\n    uri: database uri\n    database: name of the database\n    collection: collection name\n    stream_snapshot: set true if you want to stream existing data. If set to false only a new data will be streamed\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusedatabrew%2Fmongodb_stream_benthos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusedatabrew%2Fmongodb_stream_benthos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusedatabrew%2Fmongodb_stream_benthos/lists"}