This is a demo project showcasing the integration of the Green Scheduling Scheduler with a Spring Boot application. The goal of this demo is to provide an example of how to utilize carbon intensity data for scheduling tasks, helping to make more energy-efficient decisions for your application.
The green-scheduling-spring-boot-demo project demonstrates how to schedule tasks based on real-time carbon intensity data, optimizing energy consumption by aligning tasks with periods of lower carbon emissions. This can help organizations make greener, more sustainable decisions in their application workflows.
Before running the demo, ensure you have the following:
- Java 11 or newer
- Maven
- Spring Boot
- Clone the repository.
- Request an API key at https://carbonintensity.io
- Add the API key to the application.yaml
- Run the application.