Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: quarkusio/quarkus
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 759cb5b23a8e9f08bbf20ba56d8fb578854c9a21
Choose a base ref
..
head repository: quarkusio/quarkus
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3558ecabda5a0cf8e48eb83ee05947bb02f6b01d
Choose a head ref
Showing with 22 additions and 7 deletions.
  1. +22 −7 docs/src/main/asciidoc/grpc-service-implementation.adoc
29 changes: 22 additions & 7 deletions docs/src/main/asciidoc/grpc-service-implementation.adoc
Original file line number Diff line number Diff line change
@@ -330,18 +330,33 @@ public class HelloServiceTest implements Greeter {

== Trying out your services manually
In the dev mode, you can try out your gRPC services in the Quarkus Dev UI.
Just go to http://localhost:8080/q/dev and click on Services under the gRPC tile.
Just go to http://localhost:8080/q/dev and click on _Services_ under the gRPC tile.

Please note that your application needs to expose the "normal" HTTP port for the Dev UI to be accessible. If your application does not expose any HTTP endpoints, you can expose the port by adding the following dependency to your application:
Please note that your application needs to expose the "normal" HTTP port for the Dev UI to be accessible. If your application does not expose any HTTP endpoints, you can create a dedicated profile with a dependency on `quarkus-vertx-http`:
[source,xml]
----
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-vertx-http</artifactId>
</dependency>
<profiles>
<profile>
<id>development</id>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-vertx-http</artifactId>
</dependency>
</dependencies>
</profiles>
</profile>
----
Having it, you can run the dev mode with: `mvn quarkus:dev -Pdevelopment`.

NOTE: If you expose HTTP traffic only to access the Dev UI, consider adding this dependency in a dedicated profile and enabling it only when running `mvn quarkus:dev`
If you use Gradle, you can simply add a dependency for the `quarkusDev` task:

[source,groovy]
----
dependencies {
quarkusDev 'io.quarkus:quarkus-vertx-http'
}
----

== gRPC Server metrics