# yougov/mongo-connector

MongoDB data stream pipeline tools by YouGov (adopted from MongoDB)

Repository: https://github.com/yougov/mongo-connector
Canonical: https://ross.abutalabs.com/products/mongo-connector
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2024-03-27T15:59:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5137, "days_push": 889, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1872, forks 467 (observed 2026-08-28T04:05:47.004225+00:00)

## What it is
A Python-based pipeline tool that synchronizes data from a MongoDB cluster to target systems such as Solr, Elasticsearch, or another MongoDB cluster. It performs an initial sync and then tails the MongoDB oplog to keep targets up to date in real time.

## Use cases
- sync mongodb data to elasticsearch for search
- replicate a mongodb cluster to another mongodb cluster
- index mongodb collections into solr
- keep a search index in real time with mongodb changes
- stream mongodb oplog changes to another system
- migrate data from mongodb to elasticsearch

## When to choose
- you need near-real-time synchronization from MongoDB into Solr or Elasticsearch 1.x-5.x
- you want a mature, community-maintained oplog-tailing pipeline
- you need to replicate MongoDB data to another MongoDB deployment

## When to avoid
- you use modern MongoDB change streams instead of oplog tailing
- you target Elasticsearch 6.x or newer, which is unsupported
- you need a managed or cloud-native sync solution
- you require active development or support for recent MongoDB versions

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: etl, streaming, database, search-engine
- domain: databases, big-data
- platform: python, cross-platform
- tags: mongodb, oplog-tailing, elasticsearch, solr, data-sync, replication, search, data-engineering, linux

## Member repositories
- yougov/mongo-connector (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:47.004225+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:14:58.499552+00:00, confidence not recorded.
  - readme: https://github.com/yougov/mongo-connector (fetched 2026-08-28T04:05:47.004225+00:00, sha 402d8561e58a)
  - registry_pypi: https://pypi.org/pypi/mongo-connector/json (fetched 2026-08-29T10:54:00.374934+00:00, sha 3f8f486f3b68)
- Data as of 2026-08-30T08:39:29.467469+00:00.
