{"id":28916416,"url":"https://github.com/intuit/rwebpulse","last_synced_at":"2025-09-09T06:44:02.634Z","repository":{"id":189107308,"uuid":"676990565","full_name":"intuit/RWebPulse","owner":"intuit","description":"Integrate your springboot project with the latest reactive web-client offered by the spring.","archived":false,"fork":false,"pushed_at":"2025-08-04T06:04:56.000Z","size":89,"stargazers_count":2,"open_issues_count":13,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-18T05:48:31.314Z","etag":null,"topics":["async","java","spring","spring-boot","webclient","webclient-springboot"],"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/intuit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-10T13:34:42.000Z","updated_at":"2025-07-31T07:06:24.000Z","dependencies_parsed_at":"2023-08-18T10:12:48.479Z","dependency_job_id":"c2aabc55-9578-459f-b200-f11cc00e6d93","html_url":"https://github.com/intuit/RWebPulse","commit_stats":null,"previous_names":["intuit/rwebpulse"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/intuit/RWebPulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intuit%2FRWebPulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intuit%2FRWebPulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intuit%2FRWebPulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intuit%2FRWebPulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intuit","download_url":"https://codeload.github.com/intuit/RWebPulse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intuit%2FRWebPulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274255003,"owners_count":25250559,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["async","java","spring","spring-boot","webclient","webclient-springboot"],"created_at":"2025-06-21T23:39:25.489Z","updated_at":"2025-09-09T06:44:02.619Z","avatar_url":"https://github.com/intuit.png","language":"Java","readme":"[![Build Status](https://github.com/intuit/chain-z/actions/workflows/maven-build.yml/badge.svg)](https://github.com/intuit/chain-z/actions/workflows/maven-build.yml)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.intuit.async/chain-z/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.intuit.async/chain-z)\n![coverage](.github/badges/jacoco.svg)\n![branches coverage](.github/badges/branches.svg)\n\n\n# RWebPulse\n\nRWebPulse is a ready to consume JAR library to easily integrate your springboot project with the latest reactive web-client offered by the spring. It is a one stop solution with config based initialisations, exception and retry handling.\n\n\n## Who should use it?\nAny springboot application which requires downstream communication with different servers through rest/ graphql apis can leverage RWebPulse.\n\n\n## Why?\nThe existing webclient cannot be integrated in an easy configurable manner with an existing application. The app user needs to make significant changes in their code to be able to leverage the benefits of webclient. \n\nWith RWebPulse we are providing seamless config based integration to WebClient with support of exception and retry handling. All the http parameters can be configured at the runtime by the config. The existing application needs to make minimal changes by just providing the right config and directly consume the webclient.\n\n\n## How to integrate?\n\n\n### Adding the config\n\nSpring web client config needs to be defined like this in your application config.\n\n```\nspring-web-client-config:  \n  connection-pool:         # Connection pool configuration\n    pending-acquire-timeout: 31000 # 31 seconds\n    max-idle-time: 31000 # 31 seconds\n    max-life-time: 300000 # 5 minutes\n    max-connections: 400 # max pool connections\n  http-client-config:  # http client config\n    connect-timeout-millis: 30000 # 30 seconds\n    socket-timeout-millis: 30000 # 30 seconds\n```\n\n\n\n| Property | Description | Default values |\n| ------ | ----------- | ------- |\n| connection-pool |  |  |\n| pending-acquire-timeout | Webclient fails if pool connection is pending for more than this duration | 31 seconds |\n| max-idle-time | max time connection can remain idle before the server closes | 31 seconds |\n| max-life-time | max life time of connection after which the server closes | 5 mins |\n| max-connections | max connections that can be maintained in the pool | 400 |\n| http-client-config |  |  |\n| connect-timeout-millis | a time period in which a client should establish a connection with a server | 30 seconds |\n| socket-timeout-millis | a maximum time of inactivity between two data packets when exchanging data with a server | 30 seconds |\n\n\n\n### Adding the client\n\nAdd the below snippet in your application where you need to make a downstream service call\n\n```\nprivate final CommonSpringWebClient webClient;\n\nprotected ClientHttpResponse\u003cMap\u003e executeRequest(final Map\u003cString, Object\u003e body) {\n\n    return webClient.syncHttpResponse(\n            ClientHttpRequest.\u003cMap, Map\u003ebuilder()\n                    .url(\"https:abc.com/v1/create\")\n                    .httpMethod(HttpMethod.POST)\n                    .requestHeaders(new HttpHeaders())\n                    .request(body)\n                    .build());\n  }\n```\n\n\n### Configure retries\n[Retry Handling](./RetryHandling.md)\n\n\n## [Contribution](./CONTRIBUTING.md)\n\n\n## Local Development\n[Local Development](./GETTING_STARTED.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintuit%2Frwebpulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintuit%2Frwebpulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintuit%2Frwebpulse/lists"}