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.
https://github.com/envite-consulting/camunda-carbon-reductor
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Keywords
Repository
The Camunda Carbon Reductor allows you to time shift your processes' carbon emissions when energy is clean while still fulfilling the requested SLAs.
Basic Info
Statistics
- Stars: 26
- Watchers: 5
- Forks: 1
- Open Issues: 3
- Releases: 13
Topics
Metadata Files
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 |
Click to see older releases
| 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: * GitHub Artifacts
📆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
- Name: envite consulting GmbH
- Login: envite-consulting
- Kind: organization
- Location: Germany
- Website: https://envite.de
- Repositories: 6
- Profile: https://github.com/envite-consulting
Pioneering IT sustainability
GitHub Events
Total
- Release event: 2
- Watch event: 4
- 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: 2
- Watch event: 4
- 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
Last synced: 10 months ago
Top Committers
| 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 (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 15
- Total pull requests: 113
- Average time to close issues: about 2 months
- Average time to close pull requests: 8 days
- Total issue authors: 4
- Total pull request authors: 6
- Average comments per issue: 0.47
- Average comments per pull request: 0.11
- Merged pull requests: 103
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 10
- Average time to close issues: N/A
- Average time to close pull requests: 17 days
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.3
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lwluc (11)
- maxbehr801 (4)
- RodrigoCarlstrom (1)
- tobiasschaefer (1)
Pull Request Authors
- lwluc (63)
- maxbehr801 (49)
- tobiasschaefer (10)
- hehnle (7)
- options-a11y (3)
- henningkrause95 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 14
proxy.golang.org: github.com/envite-consulting/camunda-carbon-reductor
- Documentation: https://pkg.go.dev/github.com/envite-consulting/camunda-carbon-reductor#section-documentation
- License: mit
-
Latest release: v2.1.6+incompatible
published about 1 year ago
Rankings
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