Commit abad390
authored
fix: resolve gRPC NameResolver service file merging in shaded JAR (#122)
- Fix IllegalArgumentException: Address types of NameResolver 'unix' not
supported
- Root cause: Shadow plugin's duplicatesStrategy=EXCLUDE prevented
merging of service files from multiple JARs (grpc-core and grpc-netty)
- Solution: Set duplicatesStrategy=INCLUDE globally, EXCLUDE for
non-service files
- Ensures both DnsNameResolverProvider and UdsNameResolverProvider are
included
- Resolves URI scheme resolution from unix:// back to proper dns://
Fixes version 0.35.0 regression where shaded JAR was missing critical
gRPC providers1 parent 6dd1615 commit abad390
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
0 commit comments