kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiangjie Qin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4401) Change the KafkaServerTestHarness and IntegrationTestHarness from trait to abstract class.
Date Fri, 07 Apr 2017 21:29:41 GMT

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

Jiangjie Qin commented on KAFKA-4401:
-------------------------------------

Sure, I just linked KAFKA-5041 to this ticket so we can see the discussions here.

> Change the KafkaServerTestHarness and IntegrationTestHarness from trait to abstract class.
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4401
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4401
>             Project: Kafka
>          Issue Type: Task
>          Components: unit tests
>    Affects Versions: 0.10.1.0
>            Reporter: Jiangjie Qin
>            Assignee: Jiangjie Qin
>
> The IntegartionTestHarness and KafkaServerTestHarness are useful not only in Kafka unit
test, but also useful for the unit tests in other products that depend on Kafka.
> Currently there are two issues making those two test harness classes hard to use by other
Java users.
> 1. The two classes are Scala traits. This makes it difficult for people to write Java
unit test code. 
> 2. Some of the interfaces are Scala only. 
> It will be good to expose those two classes for more general usage and make them Java
friendly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message