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.

Cannot view my cluster

See original GitHub issue

Hi, I’m new to Kafka so this might be me misunderstanding something, but I’m just trying to do a “Hello world” using Kafka in an existing project and something is not working. Currently I have this in my docker-compose:

version: '3.7'

services:
  # ... 
  zookeeper:
    image: wurstmeister/zookeeper
    ports:
      - "2181:2181"
  kafka:
    image: wurstmeister/kafka
    ports:
      - "9092:9092"
    environment:
      KAFKA_ADVERTISED_HOST_NAME: kafka
      KAFKA_CREATE_TOPICS: "mytopic:1:1"
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
  kafka-manager:
    image: sheepkiller/kafka-manager
    ports:
      - "9000:9000"
    environment:
      ZK_HOSTS: zookeeper:2181
# ...

When I access localhost:9000, I see the interface, but I see nothing in my list of clusters. How can I make sure the cluster, topics, etc, are all created automatically when I run docker-compose up? Is this possible?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
eshepelyukcommented, Apr 21, 2021

omg thank you so much! this is what i’m looking for 😃

URW

1reaction
eshepelyukcommented, Apr 21, 2021

I was hoping i can use this on my personal project 😦 what can you recommend for management of clusters, brokers etc? I’m having a hard time managing my apache kafka app on the command interface.

Well 😃 I’d recommend to use k8s and some existing k8s kafka operators 😃

But if you’re just asking for a good UI for a personal project - you could check https://akhq.io/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot see my Cluster in PX-CENTRAL - Portworx Essentials
I have installed Portworx Essentials Free forever license on my kubernetes cluster. But i don't see my cluster ID in PX-Central Panel.
Read more >
Can't access a resource that is hosted on a Windows Server ...
Fixes an issue in which you cannot access a resource that is hosted on a Windows Server 2012-based failover cluster. This issue occurs...
Read more >
Accessing Clusters | Kubernetes
To access a cluster, you need to know the location of the cluster and have credentials to access it. Typically, this is automatically...
Read more >
I can't find my cluster - Databricks Community
I had a cluster that I used in the past. I do not see the cluster any longer. I checked with the admin...
Read more >
"cmviewcl: Cannot view the cluster configuration: No such file ...
To avoid this issue, ensure all nodes of ALL clusters sharing the same subnet are in /etc/hosts of all nodes. CAUSE: cmviewcl sends...
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