{"id":37028644,"url":"https://github.com/zendesk/open-replicator","last_synced_at":"2026-01-14T03:25:46.982Z","repository":{"id":27235800,"uuid":"30707388","full_name":"zendesk/open-replicator","owner":"zendesk","description":"Deprecated.  Please see https://github.com/shyiko/mysql-binlog-connector-java","archived":true,"fork":true,"pushed_at":"2023-04-09T16:45:49.000Z","size":2383,"stargazers_count":53,"open_issues_count":6,"forks_count":26,"subscribers_count":37,"default_branch":"master","last_synced_at":"2026-01-11T19:49:28.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"whitesock/open-replicator","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zendesk.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}},"created_at":"2015-02-12T14:58:47.000Z","updated_at":"2024-11-23T16:26:31.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zendesk/open-replicator","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/zendesk/open-replicator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fopen-replicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fopen-replicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fopen-replicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fopen-replicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zendesk","download_url":"https://codeload.github.com/zendesk/open-replicator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zendesk%2Fopen-replicator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":"2026-01-14T03:25:46.405Z","updated_at":"2026-01-14T03:25:46.974Z","avatar_url":"https://github.com/zendesk.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"open-replicator\n===============\n\nOpen Replicator is a high performance MySQL binlog parser written in Java. It unfolds the possibilities that you can parse, filter and broadcast the binlog events in a real time manner.\n\n\n### releases\n\n1.6.0\n\n    release: 2016-09-27\n    better microsecond timestamp precision, thanks Michel Pigassou\n    (all datetime2 classes now expose getTimestampValue(), which preserves all the time precision)\n\n1.5.1\n\n    release: 2016-09-21\n    support NULL passwords\n\n1.5.0\n\n    release: 2016-09-07\n    support a \"stop-on-EOF\" mode that borrows what mysqldump does, exiting when the server has no more\n    binlog events.\n\n1.4.4\n\n    release: 2016-09-01\n    fixes incorrect nanosecond calcuation when using TIMESTAMP(X), DATETIME(X) and TIME(X) columns in 5.6\n\n1.4.3\n\n    release: 2016-06-05\n    setup @slave_uid session variable for 5.6-compatible slave-uniqueness checks\n\n1.4.2\n\n    release: 2016-03-01\n    Implment server-sent heartbeats and an API to check up on them.\n\n1.4.1\n\n    release: 2016-01-29\n    pickup a couple of upstream fixes -- Gtid event parsing and something around closing the stream\n\n1.4.0\n\n    release: 2016-01-06\n    support GIS extensions via vividsolution's 'jts' library\n\n1.3.6\n\n    release: 2015-12-14\n    bug-fix: Fix issue with binlog_row_image = MINIMAL parsing overruns\n\n1.3.5\n\n    release: 2015-11-04\n    bug-fix: don't emit format description events unless asked for in file replication\n    bug-fix: support checksums even if the consumer didn't ask for format description events\n\n1.3.4\n\n    release: 2015-11-03\n    bug-fix: support mysql 5.6 file-based replication when the offset is greater than 4\n\n1.3.3\n\n    release: 2015-10-30\n    support 5.6 checksums in file-based replication\n\n1.3.2\n\n    release: 2015-10-07\n    bugfix for a big-endian issue that was corrupting BIT() columns longer than 2 bytes\n\n1.3.1\n\n    release: 2015-09-28\n    provide a helpful error message when an old authentication scheme is detected\n\n1.3.0\n\n    released: 2015-09-09\n    support mysql 5.6 and binlog_checksums\n\n1.2.1\n\n    released: 2015-06-16\n    notify io reader thread on exception from buffered stream reader, so it doesn't wait infinitely\n\n1.2.0\n\n    released: 2015-03-08\n    preserve invalid datetime values (0000-00-00, anyone?) as longs inside the datetime\n\n\n1.1.2\n\n    released: 2015-02-20\n    expose binlog filename in event stream\n    rescue EOFException around doParse(); it's normal when the stream is closed\n\n1.0.7\n\n    release date: 2014-05-12\n    support signed tinyint, smallint, mediumint, int, bigint\n\n1.0.6\n\n    release date: 2014-05-08\n    remove dependency commons-lang, log4j\n    support MYSQL_TYPE_TIMESTAMP2, MYSQL_TYPE_DATETIME2, MYSQL_TYPE_TIME2\n\n1.0.0\n\n    release date: 2011-12-29\n\n### maven\n```\n\u003cdependency\u003e\n        \u003cgroupId\u003ecom.zendesk\u003c/groupId\u003e\n        \u003cartifactId\u003eopen-replicator\u003c/artifactId\u003e\n        \u003cversion\u003e1.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n### parsers\n\nBinlogEventParser is plugable. All available implementations are registered by default, but you can register only the parsers you are interested in.\n![Alt text](http://dl.iteye.com/upload/attachment/0070/3054/4274ab64-b6d2-380b-86b2-56afa0de523d.png)\n\n### usage\n```\nfinal OpenReplicator or = new OpenReplicator();\nor.setUser(\"root\");\nor.setPassword(\"123456\");\nor.setHost(\"localhost\");\nor.setPort(3306);\nor.setServerId(6789);\nor.setBinlogPosition(4);\nor.setBinlogFileName(\"mysql_bin.000001\");\nor.setBinlogEventListener(new BinlogEventListener() {\n    public void onEvents(BinlogEventV4 event) {\n        // your code goes here\n    }\n});\nor.start();\n\nSystem.out.println(\"press 'q' to stop\");\nfinal BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nfor(String line = br.readLine(); line != null; line = br.readLine()) {\n    if(line.equals(\"q\")) {\n        or.stop();\n        break;\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fopen-replicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzendesk%2Fopen-replicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzendesk%2Fopen-replicator/lists"}