-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement Channel Adapters for Redis Streams #3226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
See Also see https://spring.io/projects/spring-kafka for the Spring API around Apache Kafka. Don't confuse yourself with Kafka Streams though, because it looks like Redis Streams is more like regular Kafka Consumer/Producer. So, the goal of this issue is to have channel adapter implementations around Spring Data Does it make sense? Thank you for willing to contribute the feature! |
@artembilan Thank you for these details. I take a look about the implementation, I'll let you know if I need other information. |
Fixes #3226 * Implement a `ReactiveRedisStreamMessageProducer` to consume Redis streams * Add support for consumer groups and group auto-creation * Add `@author` to `RedisHeaders` * Rename test methods in the `ReactiveRedisStreamMessageHandlerTests` to project code style * Implement `hashCode()` & `equals()` for `Person` & `Address` testing models * Fix `ReactiveRedisStreamMessageProducerTests` not creating bean for `ConnectionFactory`. Otherwise it caused to create one more not controlled `RedisClient` * Code style clean up in the `ReactiveRedisStreamMessageProducer` * Implement a group creation logic as a reactive stream deferring the call until a subscription happens on the final `messageFlux` * Move a common code for message building as the last `map()` operator in the final `Flux` * Remove an `IntegrationFlow` definition in the `ReactiveRedisStreamMessageProducerTests` as redundant
It's a reminder of that JIRA issue: https://jira.spring.io/browse/INT-4567
I currently need this feature in my project and I don't see how to implement it easily.
I can contribute with a little guidance since I never contributed to SI before.
Thanks
The text was updated successfully, but these errors were encountered: