You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Haochen He (JIRA)" <ji...@apache.org> on 2018/10/04 10:17:00 UTC

[jira] [Commented] (KAFKA-1421) Error: Could not find or load main class kafka.perf.SimpleConsumerPerformance

    [ https://issues.apache.org/jira/browse/KAFKA-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638035#comment-16638035 ] 

Haochen He commented on KAFKA-1421:
-----------------------------------

So what is the solution? I encounter this problem with  [https://www.apache.org/dyn/closer.cgi?path=/kafka/0.8.1.1/kafka_2.9.2-0.8.1.1.tgz]

How to include Kafka-perf.jar in bash? I can't find this jar in the downloading contents. So I need extra download it somewhere else, right?

Please help, thanks!

> Error: Could not find or load main class kafka.perf.SimpleConsumerPerformance
> -----------------------------------------------------------------------------
>
>                 Key: KAFKA-1421
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1421
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer 
>    Affects Versions: 0.8.0
>            Reporter: Daryl Erwin
>            Assignee: Jun Rao
>            Priority: Minor
>              Labels: performance
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Did a base install with 
> sbt update
> sbt package
> I am able to successfully run the console-producer, consumer. I am trying to run the perf scripts (./kafka-simple-consumer-perf-test.sh) but it appears the jar file is not generated. 
> Are the steps that I need to run to create this jar file?
> .. same as:
> Error: Could not find or load main class kafka.perf.ProducerPerformance



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)