{"id":50963387,"url":"https://github.com/duoan/mini-rpc","last_synced_at":"2026-06-18T17:03:08.154Z","repository":{"id":25341391,"uuid":"28768782","full_name":"duoan/mini-rpc","owner":"duoan","description":"Spring + Netty + Protostuff + ZooKeeper 实现了一个轻量级 RPC 框架，使用 Spring 提供依赖注入与参数配置，使用 Netty 实现 NIO 方式的数据传输，使用 Protostuff 实现对象序列化，使用 ZooKeeper 实现服务注册与发现。使用该框架，可将服务部署到分布式环境中的任意节点上，客户端通过远程接口来调用服务端的具体实现，让服务端与客户端的开发完全分离，为实现大规模分布式应用提供了基础支持","archived":false,"fork":false,"pushed_at":"2023-09-02T05:42:35.000Z","size":82,"stargazers_count":227,"open_issues_count":5,"forks_count":143,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-04-25T07:17:01.158Z","etag":null,"topics":["lightbox","netty","protobuffer","remote-procedure-calls","rpc-framework","spring","zookeeper"],"latest_commit_sha":null,"homepage":null,"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/duoan.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-01-04T08:26:59.000Z","updated_at":"2024-04-10T11:42:57.000Z","dependencies_parsed_at":"2022-07-12T16:08:01.587Z","dependency_job_id":null,"html_url":"https://github.com/duoan/mini-rpc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/duoan/mini-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoan%2Fmini-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoan%2Fmini-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoan%2Fmini-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoan%2Fmini-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duoan","download_url":"https://codeload.github.com/duoan/mini-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duoan%2Fmini-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34499413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":["lightbox","netty","protobuffer","remote-procedure-calls","rpc-framework","spring","zookeeper"],"created_at":"2026-06-18T17:03:07.265Z","updated_at":"2026-06-18T17:03:08.145Z","avatar_url":"https://github.com/duoan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Minimal RPC Implement with Java.\n===========\n![https://travis-ci.org/classtag/MiniRpc](https://img.shields.io/travis/classtag/MiniRpc.svg)\n\nSpring + Netty + Protostuff + ZooKeeper 实现了一个轻量级 RPC 框架，使用 Spring 提供依赖注入与参数配置，使用 Netty 实现 NIO 方式的数据传输，使用 Protostuff 实现对象序列化，使用 ZooKeeper 实现服务注册与发现。使用该框架，可将服务部署到分布式环境中的任意节点上，客户端通过远程接口来调用服务端的具体实现，让服务端与客户端的开发完全分离，为实现大规模分布式应用提供了基础支持。\n\n\n## 如何测试\n\n0. 环境准备：maven, intellij-idea\n1. 下载安装并启动zookeeper  https://www.apache.org/dyn/closer.cgi/zookeeper/\n2. 启动服务端 `me.anduo.rpc.server.core.RpcBootstrap`\n3. 启动测试 `me.anduo.rpc.example.HelloServiceTest`\n\n\n## TODO LIST\n- [ ] add metrics.\n- [ ] support client pool\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduoan%2Fmini-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduoan%2Fmini-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduoan%2Fmini-rpc/lists"}