Skip to content

Add native-image support #2419

@mhalbritter

Description

@mhalbritter

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!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions