-
Notifications
You must be signed in to change notification settings - Fork 1.1k
INT-3073: Add FluxAggregatorMessageHandler #2954
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
Conversation
Just for the sake of PoC. It is really too hard to think reactive way. 😢 I can't yet come up with test, so the main code might be changed. Anyway any feedback welcome! Thanks |
* Fix `FluxAggregatorMessageHandler` for the default `messageForWindowFlux` to rely on the `publish().autoConnect()` to build a target `Flux` for window and also copy headers from the first `Message` in the window. Looks like `switchOnFirst()` doesn't work somehow with windows or I just don't use it properly, although it isn't clear how to continue chain but get the whole `Flux` as a single entry for message payload
Added some unit tests for the Still not ready for merge since I may come up with some integration tests with the whole flow processing and also Docs and JavaDocs must have. Thanks anyway. |
* Fix `AbstractMessageSplitter` to cast properly a primitive array
Added more tests. |
So, now it's ready for review and merging, unless you would like to see Docs as well in this PR. |
Merged as d85d6ee with a bit of javadoc polishing. |
JIRA: https://jira.spring.io/browse/INT-3073