{"id":25719990,"url":"https://github.com/gregwhitaker/springboot-rsocketsetup-example","last_synced_at":"2025-05-06T19:45:17.282Z","repository":{"id":82732656,"uuid":"229535107","full_name":"gregwhitaker/springboot-rsocketsetup-example","owner":"gregwhitaker","description":"Example of sending RSocket Setup Payload with Spring Boot","archived":false,"fork":false,"pushed_at":"2020-12-04T19:52:22.000Z","size":113,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T02:21:30.717Z","etag":null,"topics":["reactive","reactive-programming","reactive-streams","rsocket","rsocket-java","spring-boot","spring-messaging"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"2019-12-22T07:47:34.000Z","updated_at":"2020-12-04T19:52:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8d9218c-d563-4b86-9077-f0c457224a5d","html_url":"https://github.com/gregwhitaker/springboot-rsocketsetup-example","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/gregwhitaker%2Fspringboot-rsocketsetup-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketsetup-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketsetup-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketsetup-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/springboot-rsocketsetup-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252756543,"owners_count":21799498,"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":["reactive","reactive-programming","reactive-streams","rsocket","rsocket-java","spring-boot","spring-messaging"],"created_at":"2025-02-25T17:36:15.786Z","updated_at":"2025-05-06T19:45:17.257Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# springboot-rsocketsetup-example\n![Build](https://github.com/gregwhitaker/springboot-rsocketsetup-example/workflows/Build/badge.svg)\n\nAn example of sending a `SETUP` payload with [RSocket](http://rsocket.io) and Spring Boot.\n\nRSocket allows for data to be sent on connection setup. This is handy for one-time connection configuration tasks your \napplication may need.\n\nThis example consists of an RSocket service, `hello-service`, that returns hello messages in the specified language for \none-to-many recipients. The language is specified at connection setup time using the RSocket `SETUP` frame.\n\n## Building the Example\nRun the following command to build the example:\n\n    ./gradlew clean build\n    \n## Running the Example\nFollow the steps below to run the example:\n\n1. Run the following command to start the `hello-service`:\n\n        ./gradlew :hello-service:bootRun\n        \n2. In a new terminal, run the following command to execute the `hello-client` and ask for hello messages for `Bob`, `Susan`, `Mary`, and `Tom` in United States English:\n\n        ./gradlew :hello-client:bootRun --args=\"en US Bob Susan Mary Tom\"\n        \n    If successful, you will see the following in the terminal:\n    \n        : Connecting to hello-service and configuring locale [language: 'en', country: 'US']\n        : Requesting '4' hello message(s)...\n        : Response: Hello, Bob!\n        : Response: Hello, Susan!\n        : Response: Hello, Mary!\n        : Response: Hello, Tom!\n        : Completed!\n        \n3. Next, run the following command to execute the `hello-client` for French messages:\n\n        ./gradlew :hello-client:bootRun --args=\"fr FR Bob Susan Mary Tom\"\n        \n    If successful, you will see the following in the terminal:\n    \n        : Connecting to hello-service and configuring locale [language: 'fr', country: 'FR']\n        : Requesting '4' hello message(s)...\n        : Response: Bonjour, Bob!\n        : Response: Bonjour, Susan!\n        : Response: Bonjour, Mary!\n        : Response: Bonjour, Tom!\n        : Completed!\n\n## Bugs and Feedback\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/gregwhitaker/springboot-rsocketsetup-example/issues).\n\n## License\nMIT License\n\nCopyright (c) 2019 Greg Whitaker\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketsetup-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketsetup-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketsetup-example/lists"}