Skip to content

Commit

Permalink
Change from ZeebeClientProperties to CamundaClientProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbehr801 committed May 6, 2024
1 parent 47b6405 commit c3a202b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
18 changes: 9 additions & 9 deletions camunda-carbon-reductor-c8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,22 @@ Configure the application using [application.yml](./src/main/resources/applicati
You can run the Connector and connect it to a Camunda Platform 8 SaaS cluster.

```yml
zeebe:
camunda:
client:
cloud:
clientId: xxx
clusterId: xxx
clientSecret: xxx
region: dsm-1
auth:
client-id: xxx
client-secret: xxx
cluster-id: xxx
region: xxx
```
If you're running Camunda Platform 8 Self-Managed then use the following configuration:
```yml
zeebe:
camunda:
client:
broker.gateway-address: 127.0.0.1:26500
security.plaintext: true
zeebe:
base-url: http://127.0.0.1:26500
```
Once the Connector is running you will see log entries like the following.
Expand Down
14 changes: 7 additions & 7 deletions camunda-carbon-reductor-c8/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
zeebe:
camunda:
client:
cloud:
clientId: ${CLIENT_ID}
clusterId: ${CLUSTER_ID}
clientSecret: ${CLIENT_SECRET}
region: ${CLIENT_REGION}
auth:
client-id: ${CLIENT_ID}
client-secret: ${CLIENT_SECRET}
cluster-id: ${CLIENT_ID}
region: ${CLIENT_REGION}

carbon-reductor:
carbon-aware-api:
Expand All @@ -14,4 +14,4 @@ carbon-reductor:
# Enable or disable the Carbon Aware Computing API usage (default is false)
# enabled: true
# basePath: "https://forecast.carbon-aware-computing.com"
# apiKey: <api-key>
# apiKey: <api-key>

0 comments on commit c3a202b

Please sign in to comment.