{"id":21770240,"url":"https://github.com/jonathan-foucher/spring-boot-redis-topic-example","last_synced_at":"2026-02-02T07:41:49.151Z","repository":{"id":247110803,"uuid":"825004645","full_name":"jonathan-foucher/spring-boot-redis-topic-example","owner":"jonathan-foucher","description":"An example of Redis pub/sub on Spring Boot","archived":false,"fork":false,"pushed_at":"2025-11-23T13:33:56.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T15:17:58.808Z","etag":null,"topics":["java","redis-pubsub","spring-boot","valkey"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/jonathan-foucher.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-06T13:54:33.000Z","updated_at":"2025-11-23T13:38:27.000Z","dependencies_parsed_at":"2024-07-06T17:26:06.591Z","dependency_job_id":"b7dc2a9a-cd17-46d2-b213-b9bc865f06af","html_url":"https://github.com/jonathan-foucher/spring-boot-redis-topic-example","commit_stats":null,"previous_names":["jonathan-foucher/spring-boot-redis-topic-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonathan-foucher/spring-boot-redis-topic-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathan-foucher%2Fspring-boot-redis-topic-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathan-foucher%2Fspring-boot-redis-topic-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathan-foucher%2Fspring-boot-redis-topic-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathan-foucher%2Fspring-boot-redis-topic-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathan-foucher","download_url":"https://codeload.github.com/jonathan-foucher/spring-boot-redis-topic-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathan-foucher%2Fspring-boot-redis-topic-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29007316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T06:37:10.400Z","status":"ssl_error","status_checked_at":"2026-02-02T06:37:09.383Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["java","redis-pubsub","spring-boot","valkey"],"created_at":"2024-11-26T14:11:48.198Z","updated_at":"2026-02-02T07:41:49.136Z","avatar_url":"https://github.com/jonathan-foucher.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction\nThis project is an example of Redis / Valkey pub/sub implementation with Spring Boot.\n\nAn endpoint allows to post a job in the queue and the subscriber will automatically consume it.\nThe publisher and subscriber are both set on the same project on this example.\n\nNote that all the jobs will run in parallel when the message is received by the subscriber.\nIf you need to wait for the current job to end before launching the next one, Redis / Valkey Stream might be a better solution and you can check [this project](https://github.com/jonathan-foucher/spring-boot-redis-stream-example).\n\n\n## Run the project\nValkey is a free open-source project forked from Redis.\nIf you prefer, you can choose to run Redis instead.\n\nYou will need to launch a Valkey instance on your computer before running the project.\n\nYou can either install Valkey directly on your machine or run it through Docker :\n`docker run -p 6379:6379 valkey/valkey`\n\nOnce Valkey is launched, you can start the Spring Boot project and start posting HTTP requests on the endpoint:\n```\ncurl --request POST \\\n  --url http://localhost:8080/redis-topic-example/v1/jobs/start \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"id\": 1, \"name\": \"some job name\"}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathan-foucher%2Fspring-boot-redis-topic-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathan-foucher%2Fspring-boot-redis-topic-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathan-foucher%2Fspring-boot-redis-topic-example/lists"}