Comments (6)
PRs are welcome.
scheme://location
did not work as expected when I tested it back then (or wasn't implemented?).scheme:location
didn't work either.- schema vs scheme might be a typo
- too large code -> true
scheme:[//authority]/path
-> true- host vs path -> it acts as a host/name so IMO that is more appropriate here
{@code dns:/}
-> maybe{@code dns:/some-address}
- this makes the official docs invalid -> please address that upstream
from grpc-spring.
scheme://location
did not work as expected when I tested it back then (or wasn't implemented?).
static://location
does most certainly work. Two slashes won't work for example for dns
though (and the template was given as to relevant for all of the cases, I guess)
scheme:location
didn't work either.
AFAIR it works for unix
relative path scheme (+ the remark above).
The point is, the 3rd slash is actually a part of the path (it's the root of the path), so saying /path
is kinda the source of the ambiguity here.
this makes the official docs invalid -> please address that upstream
yeah, I'll throw a bug report at the official repo on Monday as soon as I'm able to :D BTW I think I could get the initial version of the PR ready somewhere then as well.
from grpc-spring.
BTW,
host vs path -> it acts as a host/name so IMO that is more appropriate here
so should we call that "host" or "path" finally? ATM it says
/path
Sorry, for being confusing.
I meant we should use path
when speaking about unspecific URIs as per spec.
However when we refer specifically to the dns
scheme, then we should call it host
.
from grpc-spring.
scheme://location
did not work as expected when I tested it back then (or wasn't implemented?).
static://location
does most certainly work. Two slashes won't work for example fordns
though (and the template was given as to relevant for all of the cases, I guess)
scheme:location
didn't work either.AFAIR it works for
unix
relative path scheme (+ the remark above).
I meant specifically the dns
scheme.
from grpc-spring.
scheme://location
did not work as expected when I tested it back then (or wasn't implemented?).
static://location
does most certainly work. Two slashes won't work for example fordns
though (and the template was given as to relevant for all of the cases, I guess)
scheme:location
didn't work either.AFAIR it works for
unix
relative path scheme (+ the remark above).I meant specifically the
dns
scheme.
yeah, my point here is that currently the docs say "The target uri must be in the format: * {@code schema:[//[authority]][/path]}."
etc. not about just the dns
scheme, but in general, about all of them, that's why this format simply isn't right in the context it's used IMVHO. It's only a format valid for some of the schemes, yet the docs say "must" when speaking about all of them.
BTW,
host vs path -> it acts as a host/name so IMO that is more appropriate here
so should we call that "host" or "path" finally? ATM it says /path
from grpc-spring.
reported upstream as grpc/grpc#35539 and grpc/grpc-java#10824
from grpc-spring.
Related Issues (20)
- Is there a time line for v3.0.0 release HOT 1
- A service registers multiple instances on consul through coding. Why can grpc only call the service configured in the configuration file. HOT 1
- Russian translation of docs HOT 6
- manen repository home page HOT 1
- When grpc client is deployed in Kubernetes, what is the usecase of HealthIndicator (actuator/health) that reports the service as OUT_OF_SERVICE if any client has the TRANSIENT_FAILURE status?
- GRPC client fails to start in Spring Cloud environment HOT 13
- A question about Grpc load balancing and long connections HOT 3
- Micrometer throws ArrayIndexOutOfBoundsException exception when the grpc client cannot access a backend with metrics enabled. HOT 2
- Replace obsolete @PostConstruct annotation or implement InitializingBean HOT 1
- Apply grpc service config from consul HOT 1
- Error starting up grpc server in an existing project that uses spring HOT 2
- this dependency seems to be incompatible with new version 3.x of spring boot. HOT 4
- How to cancel server request execution as soon as a client cancels a request due to a timeout for example? HOT 2
- How to active create stubs without explicit declarations @GrpcClient("clientName") HOT 3
- Allow creation of meta annotation with @GrpcClient HOT 3
- `GrpcClientMetricAutoConfiguration` breaks system metrics HOT 1
- Error creating bean with name 'grpcHealthService' HOT 5
- Connection closed by server after 20s vs. keep-alive
- Add userAgent property to GrpcChannelProperties HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-spring.