Installation
First you need a configuration files in order to configure AKHQ connections to Kafka Brokers.
Configuration file default path is /app/application.yml (for YML file), so expected to be at the same folder as AKHQ application files. Configuration file path can target any path through MICRONAUT_CONFIG_FILES environment variable, for example: MICRONAUT_CONFIG_FILES=/somepath/application.yml.
Docker
Section titled “Docker”docker run -d \ -p 8080:8080 \ -v /tmp/application.yml:/app/application.yml \ tchiotludo/akhq- With
-v /tmp/application.ymlmust be an absolute path to configuration file - Go to http://localhost:8080
Stand Alone
Section titled “Stand Alone”- Install Java 25
- Download the latest jar on release page
- Create a configuration file
- Launch the application with
java -Dmicronaut.config.files=/path/to/application.yml -jar akhq.jar - Go to http://localhost:8080
Running in Kubernetes (using a Helm Chart)
Section titled “Running in Kubernetes (using a Helm Chart)”Using Helm repository
Section titled “Using Helm repository”- Add the AKHQ helm charts repository:
helm repo add akhq https://akhq.io/- Install or upgrade
helm upgrade --install akhq akhq/akhqRequirements
Section titled “Requirements”- Chart version >=0.1.1 requires Kubernetes version >=1.14
- Chart version 0.1.0 works on previous Kubernetes versions
helm install akhq akhq/akhq --version 0.1.0Using git
Section titled “Using git”- Clone the repository:
git clone https://github.com/tchiotludo/akhq && cd akhq/helm/akhq- Update helm values located in values.yaml
configurationvalues will contains all related configuration that you can find in application.example.yml and will be store in aConfigMapsecretsvalues will contains all sensitive configurations (with credentials) that you can find in application.example.yml and will be store inSecret- Both values will be merged at startup
- Apply the chart:
helm install --name=akhq-release-name .