Skip to main content

All Questions

0 votes
0 answers
63 views

kafka.errors.NoBrokersAvailable: NoBrokersAvailable for a service in container try to create topic at "kafka:9092"

I have multiple services in Docker, including service A (consumer) and Lafka. Service A is the consumer. Below is the docker-compose.yaml version: '3.8' services: service-a: container_name: ...
Laodao's user avatar
  • 1,709
0 votes
0 answers
48 views

Kafka Kraft docker-compose external access problems [duplicate]

This question is not answered in any thread, it is probably a mistake on Bitnami's part because they told another programmer that the same thing happened to them.If it has happened to someone or has ...
blopa's user avatar
  • 1
0 votes
0 answers
27 views

No broker is available in docker-compose Kafka [duplicate]

I’m setting up Kafka with Docker Compose on Windows, but when I try to run my producer script, I get an error saying the broker is not available. I’m new to Docker, so I might be missing something. ...
Tiffany light's user avatar
0 votes
0 answers
85 views

Custom Dockerfile and docker-compose.yml file for Kafka and Zookeeper containers doesn't produce and consume messages

I'm trying to create a custom Dockerfile and docker-compose.yml files for Kafka and Zookeeper services, in order to understand how to configure it, and how those services are communicated between each ...
Jesus Fragoso Jimenez's user avatar
-1 votes
1 answer
131 views

Cant connect to docker - This page isn’t working localhost didn’t send any data. ERR_EMPTY_RESPONSE

I am learning how to use docker, kafka, and python. I am trying to use python to read json files and send them to kafka. I was able to have the system running but i cant seem to be able to see the ...
dr-whyy's user avatar
0 votes
1 answer
184 views

The Kafka Consumer cannot find any available Kafka brokers to connect to

The Kafka Consumer cannot find any available Kafka brokers to connect to. I was hoping to be able to observe the logs, because when I use docker-compose up -d, the topics created after starting kafka ...
Otakus Players's user avatar
1 vote
0 answers
101 views

Spark job stuck at running process

I use docker-compose to make a cluster of Spark and Kafka. When I tried to consume a topic by submitting it to this cluster, the job was always stuck and not executed. Here is my docker-compose file: ...
Nguyễn Quốc Nhật Minh's user avatar
0 votes
1 answer
1k views

How produce messages to a kafka topic that is running inside a container using Python [duplicate]

I have an issue communicating to a Kafka Broker that is running inside a container using Python code from my local machine. I have a docker compose file to set up a kafka cluster. Here's the yaml file....
Moein's user avatar
  • 121
1 vote
1 answer
104 views

Kafka running in container - cannot connect from another container

I've tried to follow the advice of some other excellent posts such as this one and others, but still running into problems. I have two docker compose networks, one running kafka/zookeeper and another ...
John F's user avatar
  • 1,092
0 votes
1 answer
200 views

dockerized kafka consumer stuck at "Attaching to..." when having the line for iterating over messages

I am very new to docker and Kafka, and have a simple kafka python publisher shown below The following are in my dockerfile: FROM python:3.10 WORKDIR /app COPY . /app RUN pip install --user pip==23....
Alejandro's user avatar
  • 959
1 vote
2 answers
408 views

dockerized Kafka service stuck at producer.send [duplicate]

I am very new to docker and Kafka, and have a simple kafka python publisher shown below The following are in my dockerfile: FROM python:3.10 WORKDIR /app COPY . /app RUN pip install --user pip==23....
Alejandro's user avatar
  • 959
0 votes
1 answer
768 views

How to define and use kafka host name in docker compose

I want to have some containers use kafka to push data and I have referred to this repo, https://github.com/ktechhub/deploy_kafka_docker after I changed the "KAFKA_ADVERTISED_HOST_NAME" to ...
Aaron's user avatar
  • 81
0 votes
0 answers
128 views

Kafka consumer not appending consumed data into list in docker/ docker compose

I developed a python app that reads file, transform it after that send it to Kafka topic and receive data with consumer. I deployed this pipeline with docker and docker compose. But according to logs. ...
Ugur Selim Ozen's user avatar
1 vote
3 answers
1k views

No brokers available error when trying to connect from one docker container to a kafka container on the same network

I am trying to user a docker-compose to spin up a broker, zookeeper and 2 of my own apps. They all build and run like normal but then when I try to create a kafka producer or consumer from within my ...
Connor Mayston's user avatar
0 votes
1 answer
612 views

Connect to Kafka from another docker container

This is my compose setup: version: "3" services: zoo: image: confluentinc/cp-zookeeper:7.2.1 hostname: zoo container_name: zoo ports: - "2181:2181" ...
Data Mastery's user avatar
  • 2,125

15 30 50 per page