{"id":28466066,"url":"https://github.com/zilliztech/milvus-cdc","last_synced_at":"2025-08-28T12:23:30.230Z","repository":{"id":155790048,"uuid":"613848580","full_name":"zilliztech/milvus-cdc","owner":"zilliztech","description":"Milvus-CDC is a change data capture tool for Milvus. It can capture the changes of upstream Milvus collections and sink them to downstream Milvus.","archived":false,"fork":false,"pushed_at":"2025-06-17T06:00:39.000Z","size":24182,"stargazers_count":36,"open_issues_count":10,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-17T07:18:38.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zilliztech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-03-14T11:50:56.000Z","updated_at":"2025-06-17T06:00:35.000Z","dependencies_parsed_at":"2024-04-17T12:55:12.228Z","dependency_job_id":"89dafc0f-4b7f-4d45-9a9a-b7dc978234e5","html_url":"https://github.com/zilliztech/milvus-cdc","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/zilliztech/milvus-cdc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-cdc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-cdc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-cdc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-cdc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zilliztech","download_url":"https://codeload.github.com/zilliztech/milvus-cdc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilliztech%2Fmilvus-cdc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271462063,"owners_count":24763857,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-06-07T06:08:23.180Z","updated_at":"2025-08-21T10:07:42.411Z","avatar_url":"https://github.com/zilliztech.png","language":"Go","funding_links":[],"categories":["Data Integration \u0026 Migration"],"sub_categories":[],"readme":"# Milvus-CDC\n\nCDC is \"Change Data Capture\", and Milvus-CDC is a change data capture tool for Milvus. It can capture the changes of upstream Milvus collections and sink them to downstream Milvus. This will bring the following benefits:\n\n1. Data reliability is improved and the probability of data loss is reduced;\n2. Based on CDC, the active-standby disaster recovery feature of milvus can be implemented to ensure that even if the milvus-source cluster fails, it can be quickly switched to ensure the availability of upper-layer services;\n\n## Quick Start\n\nYou can download the executable files in the [release page](https://github.com/zilliztech/milvus-cdc/releases) or compile the source code to get the cdc tool.\n\n- how to compile source code?\n\n```bash\ngit clone https://github.com/zilliztech/milvus-cdc.git\n\nmake build\n```\n\nAfter successfully building, the `cdc` bin file will be generated in the `server` directory.\n\nWhen you get the cdc bin file, **DON'T execute it directly.** If you do it, I think you must get an error because you need to configure it before using it. How to configure and use cdc, refer to: [milvus cdc usage](doc/cdc-usage.md)\n\n## Basic Components\n\nAt present, cdc mainly consists of two parts: http server and corelib.\n\n- The http server, is responsible for accepting user-side requests, controlling task execution, and maintaining meta-information;\n- corelib,  is responsible for synchronizing the execution of tasks, including reader and writer:\n   - reader reads relevant information from etcd and mq of source Milvus;\n   - The writer converts the msg in mq into Milvus api parameters and sends the request to the target Milvus;\n\n![components](doc/pic/milvus-cdc-components.png)\n\n## CDC Data Processing Flow\n\n1. User creates cdc task through http interface;\n2. Obtain collection-related meta-information through etcd in Milvus-source, such as the channel information and checkpoint information corresponding to the collection, etc;\n3. After obtaining the meta-information related to the collection, connect to mq(message queue) to subscribe to the data;\n4. Read the data in mq, parse the data and forward it through go-sdk or perform the same operation as milvus-source;\n\n![flow](doc/pic/milvus-cdc-data.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliztech%2Fmilvus-cdc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzilliztech%2Fmilvus-cdc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliztech%2Fmilvus-cdc/lists"}