Skip to content

Commit 43f7257

Browse files
authored
Set default lb policy to round robin (#688)
1 parent 2e70d6f commit 43f7257

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/adapters/events/forwarder_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ func (f *ForwarderClient) createGRPCConnection(address string, opts ...grpc.Dial
208208
grpc.WithTransportCredentials(insecure.NewCredentials()),
209209
grpc.WithKeepaliveParams(f.config.KeepAlive),
210210
grpc.WithUnaryInterceptor(otgrpc.OpenTracingClientInterceptor(tracer)),
211+
grpc.WithDefaultServiceConfig(`{"loadBalancingPolicy":"round_robin"}`),
211212
}
212213

213214
// Append any additionally provided options (e.g., grpc.WithBlock() for tests)

0 commit comments

Comments
 (0)