{"id":25720163,"url":"https://github.com/gregwhitaker/deepstream-rpc-example","last_synced_at":"2025-06-25T13:05:45.401Z","repository":{"id":82732502,"uuid":"140100953","full_name":"gregwhitaker/deepstream-rpc-example","owner":"gregwhitaker","description":"Example of using DeepStream for Microservices RPC","archived":false,"fork":false,"pushed_at":"2018-07-07T18:58:47.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T17:41:35.686Z","etag":null,"topics":["deepstream","deepstreamhub","deepstreamio","microservice","rpc","rpc-framework"],"latest_commit_sha":null,"homepage":"https://deepstreamhub.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregwhitaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-07-07T16:44:19.000Z","updated_at":"2018-10-27T18:00:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"24ca32e0-de48-482c-8834-6408a67f3bde","html_url":"https://github.com/gregwhitaker/deepstream-rpc-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregwhitaker/deepstream-rpc-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fdeepstream-rpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fdeepstream-rpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fdeepstream-rpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fdeepstream-rpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/deepstream-rpc-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fdeepstream-rpc-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261879307,"owners_count":23223738,"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":["deepstream","deepstreamhub","deepstreamio","microservice","rpc","rpc-framework"],"created_at":"2025-02-25T17:36:43.229Z","updated_at":"2025-06-25T13:05:45.388Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","readme":"# deepstream-rpc-example\n[![Build Status](https://travis-ci.org/gregwhitaker/deepstream-rpc-example.svg?branch=master)](https://travis-ci.org/gregwhitaker/deepstream-rpc-example)\n\nAn example of using [Deepstream](https://deepstreamhub.com/) for microservices RPC.\n\nThe example starts two microservices and registers them with the Deepstream server. The provided client app sends requests to\neach of the services.\n\n## Prerequisites\nThis example requires a running instance of the Deepstream server.\n\nYou can pull the latest Deepstream server from DockerHub using the following command:\n\n    $ docker pull deepstreamio/deepstream.io\n\nCreate a container from this image using the following command:\n\n    $ docker create -t -p 6020:6020 -p 8080:8080 \\\n       --name deepstream.io \\\n       -v $(pwd)/conf:/usr/local/deepstream/conf \\\n       -v $(pwd)/var:/usr/local/deepstream/var \\\n       deepstreamio/deepstream.io\n\nStart the Deepstream server using the following command:\n\n    $ docker start -ia deepstream.io\n\n## Running the Example\nYou can run the example using the following commands:\n\n1. In a new terminal window start the Foo Service using the following command:\n\n        $ ./gradlew :foo-service:run\n    \n2. In a new terminal window start the Bar Service using the following command:\n\n        $ ./gradlew :bar-service:run\n    \n3. In a new terminal window start the Client using the following command:\n\n        $ ./gradlew :client:run\n\n    If successful, you will see the following in the client terminal:\n    \n        \u003e Task :client:run\n        [main] INFO demo.deepstream.client.Main - Sending request to 'services.foo'...\n        [main] INFO demo.deepstream.client.Main - Response from 'services.foo': Hello, World! - from 'services.foo'\n        [main] INFO demo.deepstream.client.Main - Sending request to 'services.bar'...\n        [main] INFO demo.deepstream.client.Main - Response from 'services.bar': Hello, World! - from 'services.bar'\n\n## Bugs and Feedback\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/gregwhitaker/deepstream-rpc-example/issues).\n\n## License\nCopyright 2018 Greg Whitaker\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fdeepstream-rpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fdeepstream-rpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fdeepstream-rpc-example/lists"}