githubEdit

Prerequisites

Prerequisites

This page explains how to get the software you need to use on Linux or macOS for local development.

  • Java 25 package or newer

  • git installed

  • docker installed

Note: For contributing, you must have a GitHub account to be able to raise PRs.

For Linux

  1. Install OpenJDK 25 package or newer:

sudo apt update
sudo apt install openjdk-25-jdk
  • Check the java version using the command java -version.

openjdk 25.0.1 2025-10-21
OpenJDK Runtime Environment (build 25.0.1+8-27)
OpenJDK 64-Bit Server VM (build 25.0.1+8-27, mixed mode, sharing)

Note: In case OpenJDK 25 is not set as your default Java, run

sudo update-alternatives --config java

to list all installed Java versions.

You can set it as the default by entering the selection number for it in the list and pressing Enter. For example, to set Java 25 as the default, you would enter 5 and press Enter.

  1. Install git:

  1. Install docker:

To execute the docker Command without sudo:

For macOS

  1. Install brew cask:

  1. Install openjdk 25 via Homebrew:

  1. Verify Installation

Note: In case OpenJDK 25 is not set as your default Java, you can consider including it in your $PATH after installation

If java_home doesn't recognize homebrew installed java you can run below cmd to symlink brew installed Java path to jvm

Tips

Consider allocating at least 4GB of memory for your docker. Otherwise, some apps within a stack (e.g. kafbat-ui.yaml) might crash.

To check how much memory is allocated to docker, use docker info.

You will find the total memory and used memory in the output. if you won't find used memory that means memory limits are not set for containers.

To allocate 4GB of memory for Docker:

MacOS

Edit docker daemon settings within docker dashboard

For Ubuntu

  1. Open the Docker configuration file in a text editor using the following command:

  1. Add the following line to the file to allocate 4GB of memory to Docker:

  1. Save the file and exit the text editor.

  2. Restart the Docker service using the following command:

  1. Verify that the memory limit has been set correctly by running the following command:

Note that the warning messages are expected as they relate to the kernel not supporting cgroup memory limits.

Now any containers you run in docker will be limited to this amount of memory. You can also increase the memory limit as per your preference.

Where to go next

In the next section, you'll learn how to Build and Run kafbat-ui.

Last updated

Was this helpful?