Skip to content

Commit

Permalink
docs: update README with new address methods
Browse files Browse the repository at this point in the history
  • Loading branch information
npepinpe committed Dec 29, 2024
1 parent dc2bda4 commit 9ca838b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ public class MyFeatureTest {
// given
final ZeebeClient client =
ZeebeClient.newClientBuilder()
.gatewayAddress(zeebeContainer.getExternalGatewayAddress())
.grpcAddress(zeebeContainer.getGrpcAddress())
.restAddress(zeebeContainer.getRestAddress())
.usePlaintext()
.build();
final BpmnModelInstance process =
Expand Down Expand Up @@ -249,7 +250,8 @@ public class MyFeatureTest {
// given
final ZeebeClient client =
ZeebeClient.newClientBuilder()
.gatewayAddress(zeebeContainer.getExternalGatewayAddress())
.grpcAddress(zeebeContainer.getGrpcAddress())
.restAddress(zeebeContainer.getRestAddress())
.usePlaintext()
.build();
final BpmnModelInstance process =
Expand Down Expand Up @@ -309,7 +311,7 @@ The container is considered started if and only if:
> A topology is considered complete if there is a leader for all partitions.
Once started, the container is ready to accept commands, and a client can connect to it by setting
its `gatewayAddress` to `ZeebeContainer#getExternalGatewayAddress()`.
its `grpcAddress` to `ZeebeContainer#getGrpcAddress()`, and its `restAddress` to `ZeebeContainer#getRestAddress()`.

## Standalone broker without gateway

Expand Down Expand Up @@ -348,7 +350,7 @@ The container is considered started if and only if:
> A topology is considered complete if there is a leader for all partitions.
Once started, the container is ready to accept commands, and a client can connect to it by setting
its `gatewayAddress` to `ZeebeContainer#getExternalGatewayAddress()`.
its `grpcAddress` to `ZeebeContainer#getGrpcAddress()`, and its `restAddress` to `ZeebeContainer#getRestAddress()`.

## Configuring your container

Expand Down

0 comments on commit 9ca838b

Please sign in to comment.