Thanks Neha, it's really helpful.
Jiang
-Original Message-
From: Neha Narkhede [mailto:neha.narkh...@gmail.com]
Sent: Monday, August 19, 2013 5:44 PM
To: users@kafka.apache.org
Subject: Re: kafka_2.8.0-0.8.0-beta1.jar doesn't include kafka.utils.TestUtils
You can find simpl
ich
> contains the TestUtils class. Is there any sample java code for writing
> kafka test cases?
>
> Regards,
> Jiang
>
> -Original Message-
> From: Jay Kreps [mailto:jay.kr...@gmail.com]
> Sent: Monday, August 19, 2013 12:33 PM
> To: users@kafka.apache.org
> Subj
@kafka.apache.org
Subject: Re: kafka_2.8.0-0.8.0-beta1.jar doesn't include kafka.utils.TestUtils
These are really tests, not something we should necessarily ship. They live in
the kafka-test jar, which I think is right. You can build them by running
./sbt test:package I would prefer adding
These are really tests, not something we should necessarily ship. They live
in the kafka-test jar, which I think is right. You can build them by
running
./sbt test:package
I would prefer adding this to the main package target rather than moving
our test code into the main source directory.
-Jay
You raised a good point. The same is true for all the tools that are
under src/core/src/test/scala/other/kafka.
I think we need to fix the packaging under src/core/test. Probably move the
tools under core/src/main/scala/kafka/tools so that it goes in the main
Kafka jar. And either include the test