[ 
https://issues.apache.org/jira/browse/KAFKA-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay Kreps resolved KAFKA-1661.
------------------------------
    Resolution: Fixed

Hey guys, I'd like to close this. The mock is in the public part of the main 
jar intentionally. We really don't want people depending on anything in our 
test code--we have enough challenges keeping our public classes stable without 
people intertangling themselves with our unit tests.

It is possible that someone will ship something to production that uses 
MockProducer, but I don't think a separate jar will really do much to prevent 
that.

If any strong objections reopen and we can discuss further.

> 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: 0.8.1.1
>         Environment: N/A
>            Reporter: Andras Hatvani
>            Priority: Trivial
>              Labels: newbie, test
>             Fix For: 0.8.3
>
>
> The MockConsumer and MockProducer are currently in src/main although they 
> belong in src/test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to