Skip to content

playing around with spring boot 2.0 webflux aka "reactive" and project-reactor

License

Notifications You must be signed in to change notification settings

bastman/skeleton-springboot-webflux-kotlin

Repository files navigation

webflux playground

Note: this is just quick and dirty playground

findings

  • springfox swagger currently does not work with webflux, since it has dependencies to mvc

    Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter at springfox.documentation.spring.web.ObjectMapperConfigurer.postProcessBeforeInitialization(ObjectMapperConfigurer.java:45) ~[springfox-spring-web-2.6.1.jar:2.6.1]

      it requires: import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
    

todo: try to include mvc, but factory spring boot with webflux ????

gradle modules

  • common: some shared code (example)
  • rest-service-classic: (reactive) mvc-style restcontroller example
  • rest-service: (reactive) functional-style router example

project flavours

This project has been implemented in different flavours:

kotlin

java

About

playing around with spring boot 2.0 webflux aka "reactive" and project-reactor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages