-
Notifications
You must be signed in to change notification settings - Fork 45
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
Spring Boot Auto Configuration not usable in WebFlux project #154
Comments
Thanks for reporting! Your proposal would fix it, but we wouldn't have proper support for Spring WebFlux afterwards. We have a similar discussion in zalando/logbook#331. |
I know. But at least all other configuration properties such as MDCListener, AspectJ, ... etc would work as expected. All else might or might not be added in the future. |
Yes, makes sense. Would you be willing to open a pull request by any chance? |
I'll have a look next week. |
…er-only-for-mvc Configure TracerFilter only in Spring MVC environments
Currently, when including
org.zalando:tracer-spring-boot-starter
into Spring 5 reactive applications Spring cannot start (NoClassDefFoundError: javax/servlet/Filter
) because ofTracerAutoConfiguration
's hard dependency onjavax.servlet.Filter
.Expected Behavior
The application should start, but disable servlet filtering. All other configurations should be preserved.
Actual Behavior
It fails.
Possible Fix
Extract
TracerFilterAutoConfiguration
into separate class and add@ConditionalOnWebApplication
there.The text was updated successfully, but these errors were encountered: