Code Monkey home page Code Monkey logo

Comments (2)

fgeller avatar fgeller commented on July 3, 2024

hi @utdemir - sorry, missed this one. i just tried to reproduce it with the following steps:

$ git checkout v11.1.0
$ go install .
$ ./kafka-topics.sh --create --topic zzz --partitions 1 --replication-factor 1 --zookeeper zookeeper:2181

then keep producing:

while true; do echo '{"key": "1", "value": "hans"}' | kt produce -topic zzz ; sleep 1 ; done

and consuming:

kt consume -topic zzz

and then change the config:

$ ./kafka-configs.sh --zookeeper zookeeper:2181 --alter --entity-type topics --add-config 'retention.ms=10, cleanup.policy=delete' --entity-name "zzz"

but i don't see the nil pointer dereference - am i missing a step?

reading the relevant lines - v11.1.0 tried to access the contents of a message even if the chan was closed, so i'm guessing that's what you encountered. master doesn't have that ordering issue and i added a case to listen on the partition consumer's err chan. if you can reliably reproduce the issue, could you try master?

from kt.

fgeller avatar fgeller commented on July 3, 2024

hi @utdemir - i'll close this optimistically for now - please feel free to re-open if you can reproduce it with master :)

from kt.

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.