question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dashboard shows data only after running pulsar-admin command (docker, standalone)

See original GitHub issue

Describe 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:

  1. 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
  1. Run docker-compose up
  2. Go to http://locahost and check the dashboard. It does not show data.
  3. Run docker exec apache-pulsar /bin/bash
  4. Run bin/pulsar-admin cluster list inside the container
  5. 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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
skyrocknrollcommented, Jun 19, 2019

@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?

0reactions
sijiecommented, Jun 9, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found