Code Monkey home page Code Monkey logo

Comments (3)

Crim avatar Crim commented on May 31, 2024

Hi @sujittripathy

What version is your kafka cluster and what version consumers are you using? Do you know if your consumer group offsets are stored within Kafka, or within a zookeeper instance?

KafkaWebView currently only supports viewing consumer groups which store their state within Kafka. My guess is your consumers are storing their state in Zookeeper instead, are you able to confirm this?

If not, it's possible something else is going on.

Thanks
Stephen

from kafka-webview.

sujittripathy avatar sujittripathy commented on May 31, 2024

Hi @Crim
I am using Kafka cluster version 0.10.0.1 and I am using spring-kafka integration v1.2.1 which has the same version on the consumer. I believe now I am seeing the consumer group (CG.PMTS.CARD.EVENTS) in the list on the view page, however upon clicking on the link I am seeing the below error and the section Consumer CG.PMTS.CARD.EVENTS Positions is not loading. I am seeing a topic exists named as __consumer_offsets which stores the offsets in Kafka seems. Is the below error related to any versioning issue on the KafkaWebView and the connecting Kafka cluster?


Error org.apache.kafka.common.errors.UnsupportedVersionException: The broker only supports OffsetFetchRequest v1, but we need v2 or newer to request all topic partitions. (show more)
java.lang.RuntimeException thrown at org.sourcelab.kafka.webview.ui.manager.kafka.KafkaOperations::getConsumerGroupOffsets -> org.apache.kafka.common.errors.UnsupportedVersionException: The broker only supports OffsetFetchRequest v1, but we need v2 or newer to request all topic partitions.
java.util.concurrent.ExecutionException thrown at org.apache.kafka.common.internals.KafkaFutureImpl::wrapAndThrow -> org.apache.kafka.common.errors.UnsupportedVersionException: The broker only supports OffsetFetchRequest v1, but we need v2 or newer to request all topic partitions.
org.apache.kafka.common.errors.UnsupportedVersionException thrown at -> The broker only supports OffsetFetchRequest v1, but we need v2 or newer to request all topic partitions.

from kafka-webview.

Crim avatar Crim commented on May 31, 2024

Sorry for the super delayed response. I believe that feature is not supported on brokers older than 0.11.0.x

from kafka-webview.

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.