kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Kreps (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-1661) Move MockConsumer and MockProducer from src/main to src/test
Date Wed, 01 Oct 2014 14:51:33 GMT

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

Jay Kreps commented on KAFKA-1661:

I guess the thinking was that test/ was for *our* tests. No one should depend on our test
code, it is just for us and has no external guarantees. The mocks on the other hand are part
of what we deliver to users so from our perspective they are main not test. Also as a practical
matter I really wanted them to show up in the main javadocs so that they would get documented
and be discoverable.

Does that seem crazy/wrong?

> Move MockConsumer and MockProducer from src/main to src/test
> ------------------------------------------------------------
>                 Key: KAFKA-1661
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1661
>             Project: Kafka
>          Issue Type: Task
>          Components: clients, consumer, producer 
>    Affects Versions:
>         Environment: N/A
>            Reporter: Andras Hatvani
>            Priority: Trivial
>              Labels: newbie, test
>             Fix For: 0.8.2
> The MockConsumer and MockProducer are currently in src/main although they belong in src/test.

This message was sent by Atlassian JIRA

View raw message