-
Notifications
You must be signed in to change notification settings - Fork 682
Explicitly add dns scheme to grpc channel addresses #2085
Conversation
Improves compatibility with libraries that provide additional NameResolvers See also: grpc/grpc-java#6499
Codecov Report
@@ Coverage Diff @@
## master #2085 +/- ##
=========================================
Coverage 72.48% 72.48%
Complexity 1886 1886
=========================================
Files 244 244
Lines 6966 6966
Branches 715 715
=========================================
Hits 5049 5049
Misses 1586 1586
Partials 331 331
Continue to review full report at Codecov.
|
meltsufin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you missed two other places in GcpPubSubEmulatorAutoConfiguration and GcpFirestoreAutoConfiguration.
In tests I also see us as configuring the ManagedChannel using forAddress instead of forTarget.
Which is more appropriate?
meltsufin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Once the tests pass, we can merge.
We might also want to apply this to the 1.2.x branch.
Those parts are configured via properties so I didn't include them in the first run.
I changed the test to match the other locations. |
(Not sure what this implicates) |
|
@ST-DDT I can take care of the merge into |
Improves compatibility with libraries that provide additional grpc
NameResolversSee also: grpc/grpc-java#6499
yidongnan/grpc-spring-boot-starter#268
yidongnan/grpc-spring-boot-starter#304