Knotx / knotx

Knot.x is a highly-efficient and scalable integration framework designed to build backend APIs
https://knotx.io
Apache License 2.0
126 stars 26 forks source link

Splitter with two modes: routing handler, event bus module #451

Closed tomaszmichalak closed 5 years ago

tomaszmichalak commented 6 years ago

Version used

Context of the issue/feature

Knot.x server with OpenAPI-based router allows to define custom handlers for particular operations. This is the way how we can configure custom splitter. So we do not have to use the Vert.x Event Bus when we do not plan to scale that module (that prevents serialization overhead for local splitters).

We should provide the solution where splitter can be configured as a handler and an event bus module.

Appendix

tomaszmichalak commented 5 years ago

Splitter was reimplemented and allows to define it as a custom handler: https://github.com/Knotx/knotx-server-http. Not Vert.x Event Bus option available by default.