While working on the session-redis-webflux smoke test, i discovered that there are reflection hints missing to get reactor-netty working. The test uses Lettuce as a redis client and webflux as web framework. The hints I had to add were these.
It would be nice if reactor-netty could ship these out of the box, for example as META-INF/native-image/reflect-config.json files.
I'm also not sure if these cover all use cases, but they are enough to let the sample pass.
Without these hints you see netty complaining about reaching the end of the pipeline without handling the message and then dropping it.
If you don't want these hints in your codebase, please let me know. I will then contribute the hints to the https://github.com/oracle/graalvm-reachability-metadata.
Thanks!
While working on the
session-redis-webfluxsmoke test, i discovered that there are reflection hints missing to get reactor-netty working. The test uses Lettuce as a redis client and webflux as web framework. The hints I had to add were these.It would be nice if reactor-netty could ship these out of the box, for example as
META-INF/native-image/reflect-config.jsonfiles.I'm also not sure if these cover all use cases, but they are enough to let the sample pass.
Without these hints you see netty complaining about reaching the end of the pipeline without handling the message and then dropping it.
If you don't want these hints in your codebase, please let me know. I will then contribute the hints to the https://github.com/oracle/graalvm-reachability-metadata.
Thanks!