GithubHelp home page GithubHelp logo

Comments (4)

splix avatar splix commented on August 25, 2024

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.

wurstmeister avatar wurstmeister commented on August 25, 2024

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.

mavencode01 avatar mavencode01 commented on August 25, 2024

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.

sscaling avatar sscaling commented on August 25, 2024

Closing due to staleness. Not had any recent complaints of this issue.

from kafka-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.