java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.assign(Ljava/util/List;)V

Stack Overflow | kk mnmaps | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Flink Kafka Connector runtime error

    Stack Overflow | 4 months ago | kk mnmaps
    java.lang.NoSuchMethodError: org.apache.kafka.clients.consumer.KafkaConsumer.assign(Ljava/util/List;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.kafka.clients.consumer.KafkaConsumer.assign(Ljava/util/List;)V

      at org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer09.open()
    2. org.apache.flink
      FlinkKafkaConsumer09.open
      1. org.apache.flink.streaming.connectors.kafka.FlinkKafkaConsumer09.open(FlinkKafkaConsumer09.java:282)
      1 frame
    3. flink-core
      FunctionUtils.openFunction
      1. org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:38)
      1 frame
    4. org.apache.flink
      StreamTask.invoke
      1. org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.open(AbstractUdfStreamOperator.java:91)
      2. org.apache.flink.streaming.runtime.tasks.StreamTask.openAllOperators(StreamTask.java:376)
      3. org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:256)
      3 frames
    5. flink-runtime
      Task.run
      1. org.apache.flink.runtime.taskmanager.Task.run(Task.java:584)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame