Skip to content

Commit

Permalink
add URI (#4724)
Browse files Browse the repository at this point in the history
  • Loading branch information
akeller authored Dec 9, 2024
1 parent d1b1dc0 commit 8bd7afb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/apis-tools/java-client/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ In Java code, instantiate the client as follows:
.build();

try (ZeebeClient client = ZeebeClient.newClientBuilder()
.grpcAddress(zeebeGrpc)
.restAddress(zeebeRest)
.grpcAddress(URI.create(zeebeGrpc))
.restAddress(URI.create(zeebeRest))
.credentialsProvider(credentialsProvider)
.build()) {
client.newTopologyRequest().send().join();
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-8.6/apis-tools/java-client/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ In Java code, instantiate the client as follows:
.build();

try (ZeebeClient client = ZeebeClient.newClientBuilder()
.grpcAddress(zeebeGrpc)
.restAddress(zeebeRest)
.grpcAddress(URI.create(zeebeGrpc))
.restAddress(URI.create(zeebeRest))
.credentialsProvider(credentialsProvider)
.build()) {
client.newTopologyRequest().send().join();
Expand Down

0 comments on commit 8bd7afb

Please sign in to comment.