{"id":19656280,"url":"https://github.com/daggerok/spring-cloud-function-stream-integration","last_synced_at":"2025-08-11T14:41:25.687Z","repository":{"id":151042073,"uuid":"191061462","full_name":"daggerok/spring-cloud-function-stream-integration","owner":"daggerok","description":"This example was prepared for one of my stackoverflow question: Functional programming model bean definition and spring-cloud-function + spring-cloud-stream integration https://stackoverflow.com/questions/56517391/functional-programming-model-bean-definition-and-spring-cloud-function-spring","archived":false,"fork":false,"pushed_at":"2021-10-20T00:58:27.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T10:44:03.700Z","etag":null,"topics":["docker","httpie","pip3","rabbitmq","reactor","spring-cloud-function","spring-cloud-stream","spring-cloud-stream-binder-rabbit","spring-cloud-stream-rabbitmq","spring-cloud-stream-reactive","spring-webflux","webflux"],"latest_commit_sha":null,"homepage":null,"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/daggerok.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-06-09T22:26:20.000Z","updated_at":"2021-10-20T00:58:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b2d9beb-fe33-49aa-b19c-00a6d4f29e89","html_url":"https://github.com/daggerok/spring-cloud-function-stream-integration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daggerok/spring-cloud-function-stream-integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-cloud-function-stream-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-cloud-function-stream-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-cloud-function-stream-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-cloud-function-stream-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/spring-cloud-function-stream-integration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-cloud-function-stream-integration/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269905592,"owners_count":24494312,"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-08-11T02:00:10.019Z","response_time":75,"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":["docker","httpie","pip3","rabbitmq","reactor","spring-cloud-function","spring-cloud-stream","spring-cloud-stream-binder-rabbit","spring-cloud-stream-rabbitmq","spring-cloud-stream-reactive","spring-webflux","webflux"],"created_at":"2024-11-11T15:27:19.302Z","updated_at":"2025-08-11T14:41:25.625Z","avatar_url":"https://github.com/daggerok.png","language":"Java","readme":"# spring-cloud-function-stream-integration [![CI](https://github.com/daggerok/spring-cloud-function-stream-integration/actions/workflows/ci.yaml/badge.svg)](https://github.com/daggerok/spring-cloud-function-stream-integration/actions/workflows/ci.yaml)\n\n\u003c!-- old Travis CI status:\n[![Build Status](https://travis-ci.org/daggerok/spring-cloud-function-stream-integration.svg?branch=master)](https://travis-ci.org/daggerok/spring-cloud-function-stream-integration)\n--\u003e\n\nThis example was prepared for one of my [stackoverflow question: Functional programming model bean definition and spring-cloud-function + spring-cloud-stream integration](https://stackoverflow.com/questions/56517391/functional-programming-model-bean-definition-and-spring-cloud-function-spring)\n\n```bash\ndocker run -d --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.7.15-management-alpine\n./mvnw spring-boot:start\n\nhttp :8080 string=1\nhttp :8080 string=2\nhttp :8080 string=0\n# or\nhttp :8080/process string=1\nhttp :8080/process string=2\nhttp :8080/process string=0\n\n# and\necho '[0,1,1,2,3,5,8,13,21,34,55]' | http :8080/doubleIt\n# or\ncurl -isS 0:8080/doubleIt -d '[0,1,1,2,3,5,8,13,21,34,55]' -H'Content-Type:application/json' ; echo\n\n# and\necho 3 | http post :8080/produceIt\n# or\ncurl -isS 0:8080/produceIt -d 3 -H'Content-Type:application/json' ; echo\n\n# and\necho '{\"integer\":-123}' | http post :8080/logIt\n# or\ncurl -isS 0:8080/logIt -d '{\"integer\":-123}' -H'Content-Type:application/json' ; echo\n\n./mvnw spring-boot:stop\ndocker stop rabbitmq\n```\n\n## RTFM\n* https://github.com/spring-cloud/spring-cloud-stream/blob/main/docs/src/main/asciidoc/spring-cloud-stream.adoc#sending-arbitrary-data-to-an-output-e-g-foreign-event-driven-sources\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fspring-cloud-function-stream-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fspring-cloud-function-stream-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fspring-cloud-function-stream-integration/lists"}