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.
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 inJavaAkkaGrpcClientHelpers
)e.g. a more correct code here should filter by
HTTP/2
and user'sakka.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 https://github.com/playframework/play-grpc/pull/33/review_comment/create_