Skip to content

Commit

Permalink
Change the cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksander-dytko committed Oct 30, 2024
1 parent e3bfc6f commit 091a0b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/example/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static void main(String[] args) {
.build()) {
deployResources(client);

for (int i = 0; i < 5; i++) {
for (int i = 0; i < 1; i++) {
createProcessInstance(client, i);
for (int k = 0; k < 2; k++) {
correlateOrPublishMessage(client, i);
Expand Down Expand Up @@ -76,7 +76,7 @@ private static void correlateOrPublishMessage(ZeebeClient client, Integer correl
.messageName("customerInformation")
.correlationKey("A-"+correlationKey.toString())
.variables(var)
.timeToLive(Duration.ofHours(1))
.timeToLive(Duration.ofMinutes(10))
.send().join().getMessageKey();
System.out.println(correlationKey+". Message published with key: " + messageKey);
}
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/config.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ZEEBE_GRPC = grpcs://063f6ba6-d712-4b42-aab9-2a62e45efa61.bru-2.zeebe.camunda.io:443
ZEEBE_REST_ADDRESS=https://bru-2.zeebe.camunda.io/063f6ba6-d712-4b42-aab9-2a62e45efa61
#ZEEBE_GRPC = grpcs://f25c17ab-076b-4621-a886-7522e6a47c9f.bru-2.zeebe.camunda.io:443
ZEEBE_REST_ADDRESS=https://bru-2.zeebe.camunda.io/f25c17ab-076b-4621-a886-7522e6a47c9f
AUDIENCE=zeebe.camunda.io
CLIENT_ID=HOVhVO73vS11c9IY4Lto7XO-qbG7P9Z0
CLIENT_SECRET=TMFkae9H~ZHs7hR90QUFFWlxG7bG9ImEys-UJw7rqz166dVdoHERNHBzH7qrk_tG
CLIENT_ID=1-13.zRSH2t.~~dDxOVXKqxHrXvjS2mZ
CLIENT_SECRET=A7WjnBQoKvOKbe3Yatbh9LhxoZoj9qoz8qUjhdj-jhD1u1BOHqLXp2r.NXmGzPHj
OAUTH_API=https://login.cloud.camunda.io/oauth/token

0 comments on commit 091a0b0

Please sign in to comment.