{"id":19045241,"url":"https://github.com/g-khan/grpc-sample-java-server-kotlin-client","last_synced_at":"2025-04-23T23:43:44.447Z","repository":{"id":54132849,"uuid":"345729743","full_name":"G-khan/grpc-sample-java-server-kotlin-client","owner":"G-khan","description":"gRPC Sample for Java Server and Kotlin Client","archived":false,"fork":false,"pushed_at":"2021-03-08T18:06:23.000Z","size":70,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T03:29:51.499Z","etag":null,"topics":["grpc-java","grpc-kotlin"],"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/G-khan.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":"2021-03-08T16:58:15.000Z","updated_at":"2025-03-26T05:36:06.000Z","dependencies_parsed_at":"2022-08-13T07:10:42.360Z","dependency_job_id":null,"html_url":"https://github.com/G-khan/grpc-sample-java-server-kotlin-client","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/G-khan%2Fgrpc-sample-java-server-kotlin-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-khan%2Fgrpc-sample-java-server-kotlin-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-khan%2Fgrpc-sample-java-server-kotlin-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/G-khan%2Fgrpc-sample-java-server-kotlin-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/G-khan","download_url":"https://codeload.github.com/G-khan/grpc-sample-java-server-kotlin-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535057,"owners_count":21446503,"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-java","grpc-kotlin"],"created_at":"2024-11-08T22:49:25.768Z","updated_at":"2025-04-23T23:43:43.187Z","avatar_url":"https://github.com/G-khan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Simple Synchronous Communication Example with gRPC\n\n\n  \n\n![Java Server and Kotlin Client](https://cdn-images-1.medium.com/max/800/1*WmVzLWnExOp8lhw1uzMvow.png)\n**Java Server and Kotlin Client**\n  \n\n## Requirements\n1. Java - 1.11.x\n2. Gradle- 3.x.x\n\n  \n**Step 1: Running the Banking service as gRPC Server**\n\nOpen the banking Service path then,\nType the following commands in your terminal to run the banking service\n\n    ./gradlew clean build\n    ./gradlew run\n\n**Step 2: Running the Payment service as gRPC Client**\n\nOpen the payment Service path then,\nType the following commands in your terminal to run the payment service\n\n    ./gradlew clean build\n    ./gradlew run\n\n\nLogs after run the applications:\n\n**Payment Service:**\n \n    \u003e Task :run\n    Mar 08, 2021 8:59:48 PM com.gokhana.payment.client.PaymentClient invokeGrpcSampleService\n    INFO: id: 1535502916\n    isSuccess: true\n    referenceId: 292592000\n    message: \"Transaction 2384327497216806399 successfully completed with type Credit Card\"\n\n  \n\n**Banking Service:**\n   \n    Mar 08, 2021 8:59:48 PM com.gokhana.banking.service.BankingServiceImpl pay\n    INFO: gRPC request id: 1535502916\n    paymentType: \"Credit Card\"\n    bankId: 3233083119461668241\n    transactionId: 2384327497216806399\n    payDetail: \"Hello from GRPC Client\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-khan%2Fgrpc-sample-java-server-kotlin-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-khan%2Fgrpc-sample-java-server-kotlin-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-khan%2Fgrpc-sample-java-server-kotlin-client/lists"}