Giter Site home page Giter Site logo

Comments (8)

sandeepmalik avatar sandeepmalik commented on May 26, 2024

Looks like the consumer is trying to pause reading from partitions at a time when no partitions are assigned (or are being rebalanced). Could you specify the sequence of steps and app/topic profile (how many nodes, total partitions, etc) that lead to this error and I'll try to replicate it at my end.

from bigben.

ajzwu8 avatar ajzwu8 commented on May 26, 2024

@sandeepmalik In terms of bigben setup, we didn't edit the bigben.yaml file too much beyond what the original defaults were and connecting it to our own cassandra/kafka clusters and setting enable.auto.commit to true. So bigben would have been initiated with the default 8 kafka consumers listening on the 'bigben' topic.

Topics were created using the kafka bin utils as such:
JMX_PORT=53000 ./kafka-topics.sh --zookeeper "<our zookeeper>" --create --topic bigben --replication-factor 3 --partitions 16

We have a simple node script that creates a producer for topic 'bigben', then registers a tenant creates a consumer for the output topic of the tenant. That's enough to reproduce the error message shown above if the partitions are greater than 1.

The kafka cluster is using kafka v2.0.0.

Please let me know if any additional details/code is needed.

from bigben.

sandeepmalik avatar sandeepmalik commented on May 26, 2024

Ahh I see the issue, thanks for pointing it out. Working on the fix.

from bigben.

ajzwu8 avatar ajzwu8 commented on May 26, 2024

Thanks @sandeepmalik! Do you have an ETA for merging this into master?

from bigben.

sandeepmalik avatar sandeepmalik commented on May 26, 2024

Most likely by EoD Monday of coming week.

from bigben.

sandeepmalik avatar sandeepmalik commented on May 26, 2024

I merged the dev branch. Please test and let me know if the issue is still there.

from bigben.

ajzwu8 avatar ajzwu8 commented on May 26, 2024

@sandeepmalik Looks good, ran the same test with more partitions. Thanks a lot.

from bigben.

sandeepmalik avatar sandeepmalik commented on May 26, 2024

sounds good, thanks!

from bigben.

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.