Comments (4)
Have exactly same issue with Docker volumes.
On producer side:
Failed to send producer request with correlation id 13 to broker 1 with data for partitions [test,1]
On consumer side:
kafka.common.NotLeaderForPartitionException
Works fine if internal FS is used. I believe it's a Kafka issue, maybe some incompatibility with Docker NFS
from kafka-docker.
Hi,
I can't reproduce this problem.
could you please share:
- your environment (boot2docker, native linux)
- your full
fig.yml
- exact steps you've taken before you got this error (incl topic creation, restarts, etc)
could you also share the output of $KAFKA_HOME/bin/kafka-topics.sh --describe --topic perftest --zookeeper $ZK
Also just to ensure it's not caused by random port assignments (#27) could you please check if you can get it to work with https://github.com/wurstmeister/kafka-docker/blob/master/fig-single-broker.yml as your base configuration?
Thanks
from kafka-docker.
I upgraded my docker to 1.5.0 and am wondering if this could be cause of the error
[2015-04-11 21:46:17,543] WARN Error while fetching metadata [{TopicMetadata for topic topic ->
No partition metadata for topic topic due to kafka.common.LeaderNotAvailableException}] for topic [topic]: class kafka.common.LeaderNotAvailableException
I found the problem, the KAFKA_ADVERTISED_HOST_NAME
I used was wrong IP.
Thanks!
from kafka-docker.
Closing due to staleness. Not had any recent complaints of this issue.
from kafka-docker.
Related Issues (20)
- Deprecation of "openjdk:11-jre-slim" HOT 2
- $
- Kafka-connect HOT 3
- Log4J Vulnerability HOT 1
- Kafka container restart every day at 00.02
- how to change kafka log path HOT 3
- javax.net.ssl.SSLHandshakeException : Kafka Composer
- New docker images HOT 1
- Getting an error in zookeeper HOT 2
- problem:Tried to send a message to a replica that is not the leader,Your metadata is out of date
- How to enable JMX feature in docker-compose.yml and test it HOT 1
- Error failed to change state for partition HOT 1
- Problem with sending messages from local host to kafka broker in container
- Question: I have over 400 topics that created in three kafka brokers, and now only one of them running HOT 1
- [Maintainability] is this repository still maintained? HOT 1
- Why delete the docker image wurstmeister/kafka? HOT 2
- The container for Kafka and zookeeper seems to be deleted from docker hub HOT 5
- How to build and obtain specific version kafka docker images HOT 1
- Failed to acquire lock on file .lock in /kafka/kafka-data.
- [KafkaServer id=2] Fatal error during KafkaServer shutdown. (kafka.server.KafkaServer)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-docker.