Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Re: kafka_2.8.0-0.8.0-beta1.jar doesn't include kafka.utils.TestUtils

Copy link to this message
Re: kafka_2.8.0-0.8.0-beta1.jar doesn't include kafka.utils.TestUtils
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 utils there or publish a test jar.
Please can you file a JIRA for this?

On Mon, Aug 19, 2013 at 9:08 AM, Wu, Jiang2 <[EMAIL PROTECTED]> wrote:

> Hi,
> In Kafka source code,  kafka.utils.TestUtils is defined in
> src/core/src/test/scala/unit/kafka/utils/TestUtils.scala, but the
> kafka_2.8.0-0.8.0-beta1.jar doesn't include kafka.utils.TestUtils. I'm
> wondering how to write java unit test using kafka.utils.TestUtils? Should I
> use some other jars or to compile one from the scala source code? Sorry if
> it's a rudimentary question; I know little about scala, just know it can be
> compiled to java class.
> Thanks,
> Jiang