{"id":37955444,"url":"https://github.com/mryang/mini-rpc","last_synced_at":"2026-01-16T18:00:19.678Z","repository":{"id":257790096,"uuid":"79184223","full_name":"MrYang/mini-rpc","owner":"MrYang","description":"简易java rpc框架，基于netty4，spring","archived":false,"fork":false,"pushed_at":"2022-04-05T08:45:12.000Z","size":88,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-23T05:45:57.419Z","etag":null,"topics":["netty4","rpc","spring"],"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/MrYang.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}},"created_at":"2017-01-17T03:27:02.000Z","updated_at":"2022-04-05T08:45:15.000Z","dependencies_parsed_at":"2025-04-04T14:45:18.195Z","dependency_job_id":null,"html_url":"https://github.com/MrYang/mini-rpc","commit_stats":null,"previous_names":["mryang/mini-rpc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MrYang/mini-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYang%2Fmini-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYang%2Fmini-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYang%2Fmini-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYang%2Fmini-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrYang","download_url":"https://codeload.github.com/MrYang/mini-rpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrYang%2Fmini-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["netty4","rpc","spring"],"created_at":"2026-01-16T18:00:13.854Z","updated_at":"2026-01-16T18:00:19.566Z","avatar_url":"https://github.com/MrYang.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple rpc\n\n\n参考微博[motan](https://github.com/weibocom/motan/blob/master/docs/wiki/zh_quickstart.md)及dubbo框架实现\n\n## 系统依赖\n\n- JDK1.8\n- zookeeper3.4.9\n\n## 简单调用\n\n参见 simple-rpc-demo 模块\n\nserver:\n\n```xml\n\u003c!-- 标明是server 端,并在3000端口监听服务 --\u003e\n\u003crpc:server port=\"3000\"/\u003e\n\u003c!-- 把服务注册到zookeeper 上 --\u003e\n\u003crpc:registry protocol=\"zookeeper\" address=\"127.0.0.1:2181\"/\u003e\n\n\u003cbean id=\"helloServiceImpl\" class=\"com.zz.rpc.demo.server.HelloServiceImpl\"/\u003e\n\u003c!-- 导出服务 --\u003e\n\u003crpc:service interfaceClass=\"com.zz.rpc.demo.api.HelloService\" ref=\"helloServiceImpl\"/\u003e\n```\n\nclient:\n\n```xml\n\u003c!-- 标明是client 端 --\u003e\n\u003crpc:client/\u003e\n\u003c!-- 从zookeeper 上获取服务 --\u003e\n\u003crpc:registry protocol=\"zookeeper\" address=\"127.0.0.1:2181\"/\u003e\n\u003c!-- 引用服务 --\u003e\n\u003crpc:referer interfaceClass=\"com.zz.rpc.demo.api.HelloService\" id=\"helloService\"/\u003e\n```\n\n分别运行DemoServer,DemoClient 类即可看到远程调用效果","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmryang%2Fmini-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmryang%2Fmini-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmryang%2Fmini-rpc/lists"}