To provide a client, play-grpc testkit scan the available endpoints looking for one supporting HTTP/2. The lookup should support other criteria (see comments in JavaAkkaGrpcClientHelpers)
e.g. a more correct code here should filter by HTTP/2 and user's akka.grpc.client."".use-tls and crash wonderfully if none is found.
Further improvements: what endpoint to choose if many endpoints fulfill both criteria (protocol version and use-tls) if/when we support such a setup.
Originally posted by @ignasi35 in #33
To provide a client,
play-grpctestkit scan the available endpoints looking for one supporting HTTP/2. The lookup should support other criteria (see comments inJavaAkkaGrpcClientHelpers)e.g. a more correct code here should filter by
HTTP/2and user'sakka.grpc.client."".use-tlsand crash wonderfully if none is found.Further improvements: what endpoint to choose if many endpoints fulfill both criteria (protocol version and
use-tls) if/when we support such a setup.Originally posted by @ignasi35 in #33