Use non-shared netty dependency for Spring Boot integration
- Dominant language
- Java
- Stars
- 300
- Forks
- 230
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 4
Description
## Expected Behavior
Users should be able to use native compilation (with GraalVM) for applications using the Dapr Java Spring Boot integration.
## Actual Behavior
The netty-shaded library doesn't work with native compilation.
## Steps to Reproduce the Problem
Create a Spring Boot application, add the Spring Boot Dapr integration and try to compile a native image:
```
io.dapr.spring
dapr-spring-boot-starter
${dapr-java-sdk.alpha-version}
```
## Workaround
```
io.dapr.spring
dapr-spring-boot-starter
${dapr-java-sdk.alpha-version}
io.grpc
grpc-netty-shaded
io.grpc
grpc-netty
${grpc.version}
```
You need to make sure that `${grpc.version}` matches with the one included by the Java Dapr SDK.
@artursouza can you give me some background about why we need the shaded version? Do you have anything against using the non-shaded version when integrating with Spring Boot?
## Release Note
RELEASE NOTE:
Contributor guide
Assessment
This issue has not been assessed yet.