[
https://issues.apache.org/jira/browse/KAFKA-1661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264860#comment-14264860
]
Jay Kreps commented on KAFKA-1661:
----------------------------------
That would work, but is "examples" really better? I think what this stuff is,
really, is a kind of kafka-test-support.jar, but it seems silly to make a new
jar just for two mock classes. Basically I don't see the problem with having
these in the main clients jar as they are part of what we ship that we expect
users will make use of. I don't think there is any danger that people will end
up shipping production code that makes use of the mocks, right?
> 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)