{"id":15523966,"url":"https://github.com/kpavlov/spring-reactive-messaging","last_synced_at":"2026-05-18T10:07:53.757Z","repository":{"id":152925429,"uuid":"548777550","full_name":"kpavlov/spring-reactive-messaging","owner":"kpavlov","description":"Reactive messaging SQS producer/consumer inspired by Spring Messaging and Spring Integration, implemented using Project Reactor.","archived":false,"fork":false,"pushed_at":"2022-10-11T06:55:42.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T07:45:28.554Z","etag":null,"topics":["flux","kotlin","reactive-programming","spring","sqs-consumer","sqs-publisher"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"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/kpavlov.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}},"created_at":"2022-10-10T06:59:41.000Z","updated_at":"2025-06-17T18:50:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"db753502-ad8a-4697-b1fd-c2945c520758","html_url":"https://github.com/kpavlov/spring-reactive-messaging","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kpavlov/spring-reactive-messaging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpavlov%2Fspring-reactive-messaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpavlov%2Fspring-reactive-messaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpavlov%2Fspring-reactive-messaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpavlov%2Fspring-reactive-messaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpavlov","download_url":"https://codeload.github.com/kpavlov/spring-reactive-messaging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpavlov%2Fspring-reactive-messaging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["flux","kotlin","reactive-programming","spring","sqs-consumer","sqs-publisher"],"created_at":"2024-10-02T10:48:13.934Z","updated_at":"2026-05-18T10:07:53.742Z","avatar_url":"https://github.com/kpavlov.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-reactive-messaging\n\n[![Build with Maven](https://github.com/kpavlov/spring-reactive-messaging/actions/workflows/build.yaml/badge.svg)](https://github.com/kpavlov/spring-reactive-messaging/actions/workflows/build.yaml)\n\nReactive producer/consumer components\ninspired by [Spring Messaging](https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html)\nand [Spring Integration](https://spring.io/projects/spring-integration),\nimplemented using [Project Reactor](https://projectreactor.io/).\n\n## Motivation\n\n[Spring Integration](https://spring.io/projects/spring-integration) provides a framework for connecting to messaging\nsystems,\nbut there is no support for [AWS SQS](https://aws.amazon.com/sqs/).\nAlso, [Spring Messaging](https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html) has synchronous\nAPI which is not designed\nfor Reactive Streams.\n\nSo, my immediate goal is to implement reactive message producer and consumer\nwith a functionality similar to Spring Integration.\n\n## Features\n\n* Common abstractions\n    - [ReactiveMessageHandler](src/main/kotlin/me/kpavlov/messaging/ReactiveMessageHandler.kt) - a reactive version\n      of [MessageHandler](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/messaging/MessageHandler.html)\n      interface.\n    - [ReactiveAcknowledgmentCallback](src/main/kotlin/me/kpavlov/messaging/ReactiveAcknowledgmentCallback.kt) - a\n      reactive version\n      of [AcknowledgmentCallback](https://docs.spring.io/spring-integration/docs/current/api/org/springframework/integration/acks/AcknowledgmentCallback.html)\n      interface.\n      The class is compatible with its synchronous counterparty.\n    - [MessageConsumerTemplate](src/main/kotlin/me/kpavlov/messaging/MessageConsumerTemplate.kt) - supports starting\n      and stopping message consumption as a reaction\n      on [AvailabilityChangeEvent](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/availability/AvailabilityChangeEvent.html)\n\n* [AWS SQS](https://aws.amazon.com/sqs/) Support\n    - Reactive [Message Consumer](src/main/kotlin/me/kpavlov/messaging/sqs/consumer/SqsMessageConsumer.kt).\n      It supports:\n        - backpressure\n        - rate limited sqs pooling\n        - SQS batching\n        - stopping and starting\n          on [AvailabilityChangeEvent](https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/availability/AvailabilityChangeEvent.html)\n\n    - [SqsPublisher](src/main/kotlin/me/kpavlov/messaging/sqs/publisher/SqsPublisher.kt)\n\n## Links\n\n- [\"Processing SQS Messages using Spring Boot and Project Reactor\"](http://www.java-allandsundry.com/2020/03/processing-sqs-messages-using-spring.html)\n- Even more simple SQS Listener: [\"How to Setup a Reactive SQS Listener Using the AWS SDK and Spring Boot\"](https://nickolasfisher.com/blog/How-to-Setup-a-Reactive-SQS-Listener-Using-the-AWS-SDK-and-Spring-Boot)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpavlov%2Fspring-reactive-messaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpavlov%2Fspring-reactive-messaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpavlov%2Fspring-reactive-messaging/lists"}