Alexander Preuß photo
Alexander Preuß

Table of Contents

Tutorial

How To Install Pulsar Manager

Apache Pulsar Manager

In a previous article we covered the core features and limitations of Pulsar Manager. Now let's look at how you can install it on your system. Pulsar Manager can be installed in three ways: using source code, Docker or the Pulsar Helm chart.

Installation via Source Code

Prerequisites

Before starting, please ensure the following software is installed:

  • Java JDK 1.8
  • Node.js 16
  • npm 8

Steps

1. Clone the GitHub repository

git clone https://github.com/apache/pulsar-manager
cd pulsar-manager

2. Build and start the backend

./gradlew build -x test
cd build/distributions
unzip pulsar-manager.zip
./pulsar-manager/bin/pulsar-manager

3. Build and start the frontend

cd pulsar-manager/front-end
npm install --save
npm run dev

4. Access Pulsar Manager

Open your web browser and navigate to http://localhost:9527 to access the UI.

Installation via Docker

Prerequisites

Before starting, please ensure the following software is installed:

  • Docker

Steps

1. Run Pulsar standalone Docker image (optional)

docker pull apachepulsar/pulsar:latest
docker run -d -it \
  -p 6650:6650 \
  -p 8080:8080 \
  -v pulsardata:/pulsar/data \
  -v pulsarconf:/pulsar/conf \
  --name pulsar-standalone \
  apachepulsar/pulsar:latest \
  bin/pulsar standalone

2. Run Pulsar Manager Docker image

docker pull apachepulsar/pulsar-manager:v0.4.0
docker run -it \
  -p 9527:9527 \
  -p 7750:7750 \
  -e SPRING_CONFIGURATION_FILE=/pulsar-manager/pulsar-manager/application.properties \
  --link pulsar-standalone \
  apachepulsar/pulsar-manager:v0.4.0

3. Access Pulsar Manager

Open your web browser and navigate to http://localhost:9527 to access the UI.

Installation via Helm Chart

Prerequisites

Before starting, please ensure the following software is installed:

  • kubectl
  • Helm

Steps

1. Add Apache Pulsar Helm repository

helm repo add apache https://pulsar.apache.org/charts
helm repo update

2. Clone the GitHub repository

git clone https://github.com/apache/pulsar-helm-chart
cd pulsar-helm-chart

3. Prepare the Helm chart installation

./scripts/pulsar/prepare_helm_release.sh \
  -n pulsar \
  -k pulsar-mini \
  -c

4. Install the Helm chart

helm install \
  --values examples/values-minikube.yaml \
  --namespace pulsar \
  pulsar-mini apache/pulsar

3. Forward a local port to the Pulsar Manager service

kubectl port-forward -n pulsar service/pulsar-manager 9527:9527

4. Access Pulsar Manager

Open your web browser and navigate to http://localhost:9527 to access the UI.

Troubleshooting

If you encounter any issues during installation, be sure to check our Pulsar Manager troubleshooting guide to resolve common problems.

Conclusion

This tutorial has guided you through the process of installing Pulsar Manager using three different methods: from source code, via Docker or using the Helm chart. Each approach offers flexibility depending on your environment and needs. While Pulsar Manager is a useful tool for managing Pulsar clusters, if you're looking for additional advanced features, you may want to explore Streamvisor as an alternative solution.

If you have other Pulsar Manager-related questions, you can contact us by filling out our contact form or joining our Slack Community.

Alexander Preuß photo
About the Author
Alexander Preuß is a seasoned expert in the data streaming field with extensive experience as a software engineer at both startups and large enterprises. Specializing in distributed systems, he has contributed to various open source projects, including Apache Flink, Apache Kafka, and Apache Pulsar, along with their ecosystems. Prior to founding Streamvisor, Alexander worked at Ververica (acquired by Alibaba) and StreamNative.

Let's stay in touch

Get notified of new developments or blogposts.
Checkmark icon
You've joined the mailing list!
Oops! Something went wrong while submitting the form.