kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias J. Sax (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-3625) Move kafka-streams test fixtures into a published package
Date Wed, 10 Jan 2018 16:54:00 GMT

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

Matthias J. Sax commented on KAFKA-3625:
----------------------------------------

Thanks a lot for this feedback! This is super helpful!

The artifact you are using atm, it not public API, and thus, there is no guarantee that your
tests don't break if you upgrade. (Additionally, you pull in all Kafka Streams unit tests
that you are actually not interested in.) Thus, we want to have a public {{streams-test-utils}}
package. About serialization -- I completely understand that this is annoying, but we cannot
easily avoid it... But we try to minimize the required boilerplate code. Hope you participate
in the KIP discussion that I want to start at the mailing list this week.

> Move kafka-streams test fixtures into a published package
> ---------------------------------------------------------
>
>                 Key: KAFKA-3625
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3625
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Jeff Klukas
>            Assignee: Matthias J. Sax
>            Priority: Minor
>              Labels: needs-kip, user-experience
>
> The KStreamTestDriver and related fixtures defined in streams/src/test/java/org/apache/kafka/test
would be useful to developers building applications on top of Kafka Streams, but they are
not currently exposed in a package.
> I propose moving this directory to live under streams/fixtures/src/main and creating
a new 'streams:fixtures' project in the gradle configuration to publish these as a separate
package.
> KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-247%3A+Add+public+test+utils+for+Kafka+Streams



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message