Camunda Carbon Reductor
Allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested service level agreement.
https://github.com/envite-consulting/camunda-carbon-reductor
Category: Consumption
Sub Category: Computation and Communication
Keywords
bpmn camunda camunda-platform-8 connector green-it sustainability
Keywords from Contributors
bpm camunda-bpm-platform camunda-engine cmmn dmn process-engine
Last synced: about 17 hours ago
JSON representation
Repository metadata
The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.
- Host: GitHub
- URL: https://github.com/envite-consulting/camunda-carbon-reductor
- Owner: envite-consulting
- License: mit
- Created: 2022-10-19T06:07:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T10:45:40.000Z (16 days ago)
- Last Synced: 2025-04-17T22:59:50.363Z (9 days ago)
- Topics: bpmn, camunda, camunda-platform-8, connector, green-it, sustainability
- Language: Java
- Homepage:
- Size: 4.16 MB
- Stars: 26
- Watchers: 5
- Forks: 1
- Open Issues: 3
- Releases: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
README.md
🌱Camunda Carbon Reductor
The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.
Technically, it's implemented as a Camunda Connector for Camunda Platform 8 and as an External Task Worker for Camunda Platform 7.
You want to contribute 🌱? Please read the Contribution Guidelines.
Table of Contents
- ✨ Features
- 🚀 Getting Started
- 📈 Reporting Carbon Reduction via Camunda Optimize
- 🏗️ Building Blocks
- 📚 Releases
- 📆 Publications
- 📨 Contact
✨Features
The Carbon Reductor Connector consists of an element-template that can be used in the process
model that connects to the connector function.
Time Shifting Mode ⏭️
Using the time shifting mode (default) the Carbon Reductor Connector allows you to
optimize for lower carbon emissions by moving your process execution into a timeframe with the least amount
of carbon possible while still fulfilling SLAs.
The Carbon Reductor Connector defines the following inputs:
- the location where the worker are running (e.g. Germany, UK, France, USA, etc.)
- a milestone (a timestamp used to calculate the duration the process instance has been running)
- a duration for the remainder of the process (the duration the remainder needs at most)
- the maximum duration a process instance can take
- optionally, set a threshold for the minimum amount of grams of CO2 per kilowatt-hour that should be saved
Measuring Mode 📏
Note: This mode only works with the Carbon Aware SDK API at the moment.
Using the measuring mode the Carbon Reductor Connector allows you to measure the emissions in gCO2e/KWh at
execution time and reports as well the emissions at the optimal time while still fulfilling your SLAs.
The same input as in the Time Shifting Mode ⏭️ is required.
🚀Getting Started
We provide the Carbon Reductor for Camunda Platform 7 and 8:
Camunda 8
To start the Camunda 8 Connector have a look at the specific README.
Camunda 7
To start the Camunda 7 External Task Worker have a look at the specific README.
📈Reporting Carbon Reduction via Camunda Optimize
Since Camunda Carbon Reductor stores the carbon savings as process variables,
we have the ability to visualize our successes in Camunda Optimize.
For the CarbonHack22
we visualized the results for out example process and it looks like the following:
The exported Dashboard Definition could be found here.
🏗Building Blocks
Element | Description |
---|---|
Carbon Reductor Core | Core module which calculates the possible time shifting based on data it fetches from the external systems. |
Carbon Aware API | Custom Client to connect to the Carbon Aware SDK. |
Carbon Aware Computing API | Custom Client to connect to the Carbon Aware Computing API. |
Camunda Carbon Reductor C8 | Camunda 8 Job Worker. |
Camunda Carbon Reductor C7 | Camunda 7 External Task Worker. |
📚Releases
The list of releases contains a detailed changelog.
We use Semantic Versioning.
The following compatibility matrix shows the officially supported Camunda versions for each release.
Other combinations might also work but have not been tested.
Release | Camunda Platform 8 | Camunda Platform 7 |
---|---|---|
2.1.4 | 8.5.0 | 7.21.0 |
2.1.5 | 8.6.0 | 7.22.0 |
2.1.6 | 8.7.0 | 7.23.0 |
Release | Camunda Platform 8 | Camunda Platform 7 |
---|---|---|
1.0.0 | 8.1.0 | 7.18.0 |
1.1.0 | 8.2.0 | 7.19.0 |
2.0.0 | 8.2.3 | 7.19.0 |
2.0.1 | 8.2.3 | 7.19.0 |
2.0.2 | 8.2.3 | 7.19.0 |
2.0.3 | 8.3.0 | 7.19.0 |
2.1.0 | 8.3.0 | 7.20.0 |
2.1.1 | 8.4.0 | 7.20.0 |
2.1.2 | 8.5.0 | 7.21.0 |
2.1.3 | 8.5.0 | 7.21.0 |
2.1.4 | 8.5.0 | 7.21.0 |
2.1.5 | 8.6.0 | 7.22.0 |
2.1.6 | 8.7.0 | 7.23.0 |
Download of Releases:
📆Publications
- 2024-04: Hehnle, Philipp; Behrendt, Maximilian; Weinbrecht, Luc; Corea, Carl (2024): Carbon-Aware Process Execution for Green Business Process Management. In: Proceedings of the 26th International Conference on Enterprise Information Systems. Angers, France, 28/04/2024 - 30/04/2024: SCITEPRESS - Science and Technology Publications, S. 659–666.
- 2023-10: Process Pattern.book
The Camunda Carbon Reductor as Case Study for the Shift Workload Workflow Pattern. - 2023-09: Camunda Marketplace
- 2023-07: The Camunda 8 Connector for Carbon-Aware Process Execution
- 2023-02: Hehnle, Philipp; Behrendt, Maximilian; Weinbrecht, Luc (20.2023): Digitale Geschäftsprozesse klimabewusst ausführen. In: Uwe Friedrichsen (Hg.): IT Spektrum. Green IT, S. 16–19.
- 2022-11: Carbon Reduced Business Process Execution
2 Minute pitch on YouTube as part of the #CarbonHack22 hackathon - 2022-11: Project Pitch
Project pitch on Taikai as part of the #CarbonHack22 hackathon
If you are interested in our work and want to get to know more, feel free to reach out to us.
📨Contact
If you have any questions or ideas feel free to start a discussion or contact us via mail.
This open source project is being developed by envite consulting GmbH.
Owner metadata
- Name: envite consulting GmbH
- Login: envite-consulting
- Email:
- Kind: organization
- Description: Pioneering IT sustainability
- Website: https://envite.de
- Location: Germany
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/112858958?v=4
- Repositories: 6
- Last ynced at: 2023-08-04T20:05:31.749Z
- Profile URL: https://github.com/envite-consulting
GitHub Events
Total
- Release event: 1
- Watch event: 3
- Delete event: 5
- Issue comment event: 1
- Push event: 22
- Pull request review event: 14
- Pull request review comment event: 11
- Pull request event: 11
- Create event: 8
Last Year
- Release event: 1
- Watch event: 3
- Delete event: 5
- Issue comment event: 1
- Push event: 22
- Pull request review event: 14
- Pull request review comment event: 11
- Pull request event: 11
- Create event: 8
Committers metadata
Last synced: 6 days ago
Total Commits: 217
Total Committers: 9
Avg Commits per committer: 24.111
Development Distribution Score (DDS): 0.585
Commits in past year: 43
Committers in past year: 6
Avg Commits per committer in past year: 7.167
Development Distribution Score (DDS) in past year: 0.651
Name | Commits | |
---|---|---|
Luc Weinbrecht | l****c@w****e | 90 |
Maximilian Behrendt | m****t@e****e | 74 |
ReleaseAction[bot] | a****s@g****m | 22 |
Tobias Schaefer | t****r@e****e | 15 |
Philipp Hehnle | p****e@e****e | 11 |
Philipp Hehnle | p****e@g****m | 2 |
Henning Krause | h****e@e****e | 1 |
Sebastian Gülpen | s****n@M****x | 1 |
Sebastian Guelpen | s****n@s****e | 1 |
Committer domains:
- envite.de: 4
- suedleasing.de: 1
- mbpvonsebastian.fritz.box: 1
- github.com: 1
- weinbrecht.de: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 19
Total pull requests: 116
Average time to close issues: about 1 month
Average time to close pull requests: 8 days
Total issue authors: 4
Total pull request authors: 6
Average comments per issue: 0.42
Average comments per pull request: 0.1
Merged pull request: 103
Bot issues: 0
Bot pull requests: 0
Past year issues: 6
Past year pull requests: 23
Past year average time to close issues: 1 day
Past year average time to close pull requests: 5 days
Past year issue authors: 1
Past year pull request authors: 4
Past year average comments per issue: 0.17
Past year average comments per pull request: 0.26
Past year merged pull request: 19
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- lwluc (13)
- maxbehr801 (4)
- RodrigoCarlstrom (1)
- tobiasschaefer (1)
Top Pull Request Authors
- lwluc (55)
- maxbehr801 (42)
- tobiasschaefer (10)
- hehnle (6)
- options-a11y (2)
- henningkrause95 (1)
Top Issue Labels
- enhancement (10)
- bug (5)
- good first issue (4)
- refactoring (4)
- documentation (2)
Top Pull Request Labels
- documentation (1)
Dependencies
- actions/checkout v1 composite
- docker/login-action v2 composite
- actions/checkout v3 composite
- actions/setup-java v3 composite
- maven 3.8.3-openjdk-17 build
- openjdk 17.0.1-jdk-slim build
- maven 3.8.3-openjdk-17 build
- openjdk 17.0.1-jdk-slim build
- org.springframework.boot:spring-boot-dependencies 2.7.3 import
- com.sun.xml.bind:jaxb-impl 2.3.5
- de.envite.greenbpm:carbon-reductor-core 1.0.2-SNAPSHOT
- joda-time:joda-time 2.12.2
- org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-external-task-client 7.18.0
- org.projectlombok:lombok ${version.lombok}
- org.slf4j:slf4j-api ${version.slf4j}
- org.springframework.boot:spring-boot
- org.springframework.boot:spring-boot-autoconfigure
- com.h2database:h2 test
- org.assertj:assertj-core ${version.assertj} test
- org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter-test 7.18.0 test
- org.camunda.bpm:camunda-bpm-junit5 7.18.0 test
- org.camunda.bpm:camunda-engine 7.18.0 test
- org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
- de.envite.greenbpm:carbon-reductor-core 1.0.2-SNAPSHOT
- io.camunda.connector:connector-validation ${version.connector-core}
- io.camunda:spring-zeebe-starter ${version.spring-zeebe-starter}
- jakarta.validation:jakarta.validation-api ${version.jakarta.validation-api}
- org.hibernate.validator:hibernate-validator ${version.hibernate-validator}
- org.projectlombok:lombok ${version.lombok}
- org.slf4j:slf4j-api ${version.slf4j}
- io.camunda:zeebe-process-test-extension ${version.spring-zeebe-starter} test
- org.assertj:assertj-core ${version.assertj} test
- org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
- org.mockito:mockito-junit-jupiter ${version.mockito} test
- org.springframework.boot:spring-boot-starter-test test
- de.envite.greenbpm:api-carbon-aware 1.0.2-SNAPSHOT
- io.github.domain-primitives:domainprimitives-java ${version.domainprimitives}
- org.projectlombok:lombok ${version.lombok}
- org.slf4j:slf4j-api ${version.slf4j}
- org.springframework:spring-context
- org.assertj:assertj-core ${version.assertj} test
- org.junit.jupiter:junit-jupiter ${version.junit-jupiter} test
- org.mockito:mockito-junit-jupiter ${version.mockito} test
- actions/checkout v3 composite
- actions/setup-java v3 composite
- javax:javaee-web-api 8.0.1 provided
- com.google.code.findbugs:jsr305 3.0.2
- com.google.code.gson:gson 2.10.1
- com.squareup.okhttp3:logging-interceptor 4.11.0
- com.squareup.okhttp3:okhttp 4.11.0
- com.squareup.okio:okio 3.4.0
- io.gsonfire:gson-fire 1.8.5
- io.swagger.core.v3:swagger-annotations 2.2.9
- io.swagger:swagger-annotations 1.6.10
- org.openapitools:jackson-databind-nullable 0.2.6
Score: 5.564520407322694