Green Scheduling Spring Boot Demo

October 2, 2025 ยท View on GitHub

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.

Overview

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.

Prerequisites

Before running the demo, ensure you have the following:

  • Java 11 or newer
  • Maven
  • Spring Boot

Setup

  1. Clone the repository.
  2. Request an API key at https://carbonintensity.io
  3. Add the API key to the application.yaml
  4. Run the application.