From 94aa005be478a6da56e7725cb10ef2ca3f89a11d Mon Sep 17 00:00:00 2001 From: Sebastian Bathke Date: Wed, 9 Oct 2024 17:07:26 +0200 Subject: [PATCH] chore: use new spring sdk config in getting started guide (#4439) --- docs/guides/getting-started-java-spring.md | 12 ++++++++---- .../guides/getting-started-java-spring.md | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/guides/getting-started-java-spring.md b/docs/guides/getting-started-java-spring.md index c56f209938..d4a1b81001 100644 --- a/docs/guides/getting-started-java-spring.md +++ b/docs/guides/getting-started-java-spring.md @@ -149,12 +149,16 @@ Due to a bug in 8.6, use the Spring Zeebe SDK version `8.5.0`. ### Configure the Zeebe client -Open your `src/main/resources/application.properties` file, and paste the following snippet to connect to the Self-Managed Zeebe broker: +Open your `src/main/resources/application.yaml` file, and paste the following snippet to connect to the Self-Managed Zeebe broker: ``` -zeebe.client.broker.grpcAddress=http://127.0.0.1:26500 -zeebe.client.broker.restAddress=http://127.0.0.1:8080 -zeebe.client.security.plaintext=true +camunda: + client: + mode: self-managed + zeebe: + enabled: true + grpc-address: http://127.0.0.1:26500 + rest-address: http://127.0.0.1:8080 ``` ### Create a worker diff --git a/versioned_docs/version-8.6/guides/getting-started-java-spring.md b/versioned_docs/version-8.6/guides/getting-started-java-spring.md index a26747edc6..f0b72d4e09 100644 --- a/versioned_docs/version-8.6/guides/getting-started-java-spring.md +++ b/versioned_docs/version-8.6/guides/getting-started-java-spring.md @@ -149,12 +149,16 @@ Due to a bug in 8.6, use the Spring Zeebe SDK version `8.5.0`. ### Configure the Zeebe client -Open your `src/main/resources/application.properties` file, and paste the following snippet to connect to the Self-Managed Zeebe broker: +Open your `src/main/resources/application.yaml` file, and paste the following snippet to connect to the Self-Managed Zeebe broker: ``` -zeebe.client.broker.grpcAddress=http://127.0.0.1:26500 -zeebe.client.broker.restAddress=http://127.0.0.1:8080 -zeebe.client.security.plaintext=true +camunda: + client: + mode: self-managed + zeebe: + enabled: true + grpc-address: http://127.0.0.1:26500 + rest-address: http://127.0.0.1:8080 ``` ### Create a worker