Dashboard shows data only after running pulsar-admin command (docker, standalone)
See original GitHub issueDescribe the bug
I am using docker-compose to run pulsar in standalone mode together with dashboard. However, my dashboard stays empty until I run bin/pulsar-admin clusters list
inside the pulsar container.
To Reproduce Steps to reproduce the behavior:
- Create docker-compose.yaml
# docker-compose.yaml
version: "3.7"
services:
apache-pulsar:
hostname: apache-pulsar
image: apachepulsar/pulsar:2.3.2
command: ["bin/pulsar", "standalone"]
ports:
- "6650:6650"
- "8080:8080"
apache-pulsar-dashboard:
hostname: apache-pulsar-dashboard
image: apachepulsar/pulsar-dashboard
ports:
- "80:80"
environment:
- SERVICE_URL=http://apache-pulsar:8080
- Run
docker-compose up
- Go to
http://locahost
and check the dashboard. It does not show data. - Run
docker exec apache-pulsar /bin/bash
- Run
bin/pulsar-admin cluster list
inside the container - The dashboard now shows data (might need a refresh).
Expected behavior Have the dashboard show data without running a command in the container.
Desktop (please complete the following information):
- OS: macOS but running in docker containers
Additional context Might be related to #3367
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
datastax/pulsar-admin-console - Docker Image
Run Admin Console in development. Configure the Admin Console dashboard. By default the settings expect a Pulsar running standalone mode reachable on localhost....
Read more >Pulsar dashboard
The dashboard is a data collector that polls stats from all the brokers in a Pulsar instance (across multiple clusters) and stores all...
Read more >Apache Pulsar standalone usage and basic topics - Digitalis.io
I'm going to start a standalone cluster: $ bin/pulsar standalone. After a few minutes you will see that the cluster is up and...
Read more >Newest 'apache-pulsar' Questions - Stack Overflow
I'm running Pulsar in the standalone option in a Kubernetes pod. ... Pulsar JVM Dashboard Zookeeper show No Data on column direct memory....
Read more >Mastering Apache Pulsar
Shows commands or other text that should be typed literally by the user. ... When you consider a system like Apache Pulsar, it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sijie When we restart all the brokers we don’t see any topics or namespace in the dashboard even though it exists. Only after producing and consuming in the topic the topics appear in the dashboard. is it expected or bug?
Pulsar dashboard is deprecated in favor of using Pulsar Manager. http://pulsar.apache.org/docs/en/administration-pulsar-manager/
So close this now. If you have any questions, please re-open it.