Skip to content

Commit 88adc36

Browse files
Shreyansh228Shreyansh
authored andcommitted
fix: Adding service provider configuration files to fix the grpc sink exception "Could not find policy 'pick_first'" (#203)
In the current implementation, the gRPC client chooses default LoadBalancerProvider ('pick_first') and default NameResolverProvider(DNS). The implementation classes PickFirstLoadBalancerProvider and DnsNameResolverProvider respectively are missing. We can handle the issue with the including implementation classes through service provider configuration files. * SPI io.grpc.LoadBalancerProvider: io.grpc.internal.PickFirstLoadBalancerProvider * SPI io.grpc.NameResolverProvider: io.grpc.internal.DnsNameResolverProvider Co-authored-by: Shreyansh <[email protected]>
1 parent 87b6bfd commit 88adc36

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
io.grpc.internal.PickFirstLoadBalancerProvider
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
io.grpc.internal.DnsNameResolverProvider

0 commit comments

Comments
 (0)