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

Assembler with two modes: routing handler, event bus module #450

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 assembler. So we do not have to use the Vert.x Event Bus when we do not plan to scale that module (it prevents serialization overhead for a local assembler).

We should provide the solution where assembler can be configured as a local handler and event bus module (for the cluster mode).

Appendix

2kodes commented 6 years ago

Curious if you have seen the below? scheduled for release in vertx 3.6

https://vertx-ci.github.io/web-site-snapshot/docs/vertx-web-api-service/java

tomaszmichalak commented 5 years ago

Assembler 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.