{"id":22107022,"url":"https://github.com/ztrzaska/grpc","last_synced_at":"2026-05-13T07:04:08.275Z","repository":{"id":45719878,"uuid":"513925991","full_name":"ztrzaska/grpc","owner":"ztrzaska","description":"gRPC high performance microservices with Spring Boot","archived":false,"fork":false,"pushed_at":"2022-08-28T14:16:14.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T09:30:52.171Z","etag":null,"topics":["grpc","grpc-client","grpc-java","grpc-server","microservices","spring-boot"],"latest_commit_sha":null,"homepage":"","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/ztrzaska.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":"2022-07-14T14:07:52.000Z","updated_at":"2023-02-07T16:46:12.000Z","dependencies_parsed_at":"2022-09-22T20:50:24.575Z","dependency_job_id":null,"html_url":"https://github.com/ztrzaska/grpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fgrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fgrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fgrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ztrzaska%2Fgrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ztrzaska","download_url":"https://codeload.github.com/ztrzaska/grpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200706,"owners_count":20576674,"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","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":["grpc","grpc-client","grpc-java","grpc-server","microservices","spring-boot"],"created_at":"2024-12-01T08:13:52.213Z","updated_at":"2026-05-13T07:04:08.180Z","avatar_url":"https://github.com/ztrzaska.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC high performance microservices with Spring Boot\n\n### Getting Started\n\nThis project demonstrates spring boot microservices by using grpc communication. One of modules exposes grpc endpoints. Another microservice works as grpc client which calls grpc api.\n```\nmvn clean install\ncd rental-grpc-service\nmvn spring-boot:run\n```\n\n### Calling gRPC methods\n\n```\ngrpcurl --plaintext localhost:9090 list\ngrpcurl --plaintext localhost:9090 list pl.ztrzaska.grpc.ReservationService\n\ngrpcurl --plaintext -d \"{\\\"period\\\": \\\"month\\\", \\\"cost\\\": \\\"500\\\", \\\"renterId\\\": \\\"1\\\", \\\"objectForRentId\\\": \\\"1\\\"}\" localhost:9090 pl.ztrzaska.grpc.ReservationService/reserve\ngrpcurl --plaintext -d \"{\\\"id\\\": \\\"1\\\", \\\"cost\\\": \\\"400\\\", \\\"period\\\": \\\"month\\\"}\" localhost:9090 pl.ztrzaska.grpc.ReservationService/modify\ngrpcurl --plaintext -d \"{\\\"name\\\": \\\"RENTER1\\\"}\" localhost:9090 pl.ztrzaska.grpc.ReservationService/findByRenter\ngrpcurl --plaintext -d \"{\\\"name\\\": \\\"NAME1\\\"}\" localhost:9090 pl.ztrzaska.grpc.ReservationService/findByObjectForRentName\n```\n\n\n### Reference Documentation\nFor further reference, please consider the following sections:\n\n* [Grpc protocol](https://grpc.io/)\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.0/maven-plugin/reference/html/)\n* [Spring Data JPA](https://docs.spring.io/spring-boot/docs/2.7.0/reference/htmlsingle/#data.sql.jpa-and-spring-data)\n\n### Guides\nThe following guides illustrate how to use some features concretely:\n\n* [Spring boot gRPC](https://yidongnan.github.io/grpc-spring-boot-starter/en/server/getting-started.html)\n* [Grpc stubs with Spring Boot](https://yidongnan.github.io/grpc-spring-boot-starter/en/client/getting-started.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztrzaska%2Fgrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztrzaska%2Fgrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztrzaska%2Fgrpc/lists"}