Skip to content

Commit

Permalink
docs: Remove unnecessary version numbers, and correct dep coordinates. (
Browse files Browse the repository at this point in the history
  • Loading branch information
wetted authored Aug 8, 2023
1 parent 6fd2f22 commit 814104e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/main/docs/guide/gettingStarted.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ Finally, add the following dependencies to your build:

For gRPC servers:

dependency:micronaut-grpc-server-runtime[version="{version}", groupId="io.micronaut.grpc"]
dependency:micronaut-grpc-server-runtime[groupId="io.micronaut.grpc"]

For gRPC clients:

dependency:micronaut-grpc-client-runtime[version="{version}", groupId="io.micronaut.grpc"]
dependency:micronaut-grpc-client-runtime[groupId="io.micronaut.grpc"]

NOTE: If you wish to use gRPC standalone without the Micronaut HTTP server you should comment out the `micronaut-http-server-netty` dependency.

Expand Down
2 changes: 1 addition & 1 deletion src/main/docs/guide/protocolBuffers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ This project also includes a module that adds the ability to encode and decode P

To use this adds the `micronaut-protobuff-support` dependency:

dependency:micronaut-protobuff-support[version="{version}", groupId="io.micronaut.grpc"]
dependency:micronaut-protobuff-support[groupId="io.micronaut.grpc"]

Micronaut will now support the encoding and decoding requests / responses of type `application/x-protobuf`.
4 changes: 2 additions & 2 deletions src/main/docs/guide/serviceDiscovery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The way in which this is done is the https://docs.micronaut.io/latest/guide/inde

To register a gRPC service with Consul first add the `micronaut-discovery-client` dependency:

dependency:micronaut-discovery-client[version="{version}", groupId="io.micronaut.discovery", scope="runtime"]
dependency:micronaut-discovery-client[groupId="io.micronaut.discovery", scope="runtime"]

Then setup Consul correctly:

Expand Down Expand Up @@ -82,4 +82,4 @@ GreeterGrpc.GreeterStub greeterStub(
channel
);
}
----
----
4 changes: 2 additions & 2 deletions src/main/docs/guide/tracing.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gRPC includes tracing based on OpenCensus, however if you wish to use Micronaut's integration with Jaeger or Zipkin you can do so by adding the following dependencies:

dependency:micronaut-tracing[scope="compile"]
dependency:micronaut-tracing-brave-http[scope="compile", groupId="io.micronaut.tracing"]

dependency:opentracing-grpc[scope="runtime", version="0.2.1", groupId="io.opentracing.contrib"]

You then need to https://docs.micronaut.io/latest/guide/index.html#distributedTracing[configure either Jaeger or Zipkin] appropriately.
You then need to https://micronaut-projects.github.io/micronaut-tracing/latest/guide/#jaeger[configure either Jaeger or Zipkin] appropriately.

0 comments on commit 814104e

Please sign in to comment.