{"id":25719979,"url":"https://github.com/gregwhitaker/springboot-rsocketmetadatapush-example","last_synced_at":"2025-05-06T19:45:08.705Z","repository":{"id":82732663,"uuid":"229396144","full_name":"gregwhitaker/springboot-rsocketmetadatapush-example","owner":"gregwhitaker","description":"Example of using RSocket Metadata Push in Spring Boot","archived":false,"fork":false,"pushed_at":"2020-12-10T16:39:03.000Z","size":95,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T02:21:29.675Z","etag":null,"topics":["metadata","reactive","reactive-streams","rsocket","rsocket-java","rsocket-metadata","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-21T07:57:17.000Z","updated_at":"2021-01-15T14:00:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8a7b2e8-7528-4067-9b0e-8d1c2ed3bf46","html_url":"https://github.com/gregwhitaker/springboot-rsocketmetadatapush-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-rsocketmetadatapush-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketmetadatapush-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketmetadatapush-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fspringboot-rsocketmetadatapush-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/springboot-rsocketmetadatapush-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252756472,"owners_count":21799480,"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":["metadata","reactive","reactive-streams","rsocket","rsocket-java","rsocket-metadata","spring-boot","spring-messaging"],"created_at":"2025-02-25T17:36:14.241Z","updated_at":"2025-05-06T19:45:08.677Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","readme":"# springboot-rsocketmetadatapush-example\n![Build](https://github.com/gregwhitaker/springboot-rsocketmetadatapush-example/workflows/Build/badge.svg)\n\nAn example of using Metadata Push with [RSocket](http://rsocket.io) and Spring Boot.\n\nThis example consists of an RSocket service, `hello-service`, that returns hello messages in the format specified during connection\nsetup or by the format specified as an update to the metadata via metadata push.\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. Start the `hello-service` by running the following command:\n\n        ./gradlew :hello-service:bootRun\n        \n2. In a new terminal, run the following command to start the `hello-client`:\n\n        ./gradlew :hello-client:bootRun --args=\"Bob\"\n        \n    If successful, you will see the following in the terminal:\n\n        : Started HelloClientApplication in 0.967 seconds (JVM running for 1.336)\n        : Sending hello request 1...\n        : Response: Hello, Bob! [clientId: 'greg_demo_client']\n        : Pushing new hello message format via METADATA_PUSH: Bonjour, %s!\n        : Sending hello request 2...\n        : Response: Bonjour, Bob! [clientId: 'greg_demo_client']\n        \n    Notice that the first hello message uses the format `Hello, {name}!`. The message format is then updated to `Bonjour, {name}!` \n    via RSocket metadata push and a new request is sent through to show that the message has been updated.\n\n    Also, notice that the `clientId` metadata in both scenarios remains as it was set during the RSocket connection setup.\n    \n## Bugs and Feedback\nFor bugs, questions, and discussions please use the [Github Issues](https://github.com/gregwhitaker/springboot-rsocketmetadatapush-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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketmetadatapush-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketmetadatapush-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fspringboot-rsocketmetadatapush-example/lists"}