Skip to content

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

Closed
wants to merge 6 commits into from

Conversation

artembilan
Copy link
Member

@artembilan
Copy link
Member Author

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
@artembilan
Copy link
Member Author

Added some unit tests for the FluxAggregatorMessageHandler.

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
@artembilan
Copy link
Member Author

Added more tests.
Also the fix for splitter when we try to cast a primitive array.
Will issue a back-port PR soon.

@artembilan artembilan changed the title [DO NOT MERGE YET] INT-3073: Add FluxAggregatorMessageHandler INT-3073: Add FluxAggregatorMessageHandler Jun 12, 2019
@artembilan
Copy link
Member Author

So, now it's ready for review and merging, unless you would like to see Docs as well in this PR.
Thanks

@garyrussell
Copy link
Contributor

Merged as d85d6ee with a bit of javadoc polishing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants